首页>
外国专利>
Method and apparatus for classifying a network protocol and aligning a network protocol header relative to cache line boundary
Method and apparatus for classifying a network protocol and aligning a network protocol header relative to cache line boundary
展开▼
机译:用于对网络协议进行分类并相对于缓存行边界对齐网络协议头的方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
Techniques for routing a payload of a first network protocol, which includes header information for a second network protocol, include communicating a packet. In a circuit block, a first type for the first network protocol and a second type for the second network protocol are determined. The circuit block stores a classification that indicates a unique combination of the first type and the second type. A general purpose processor routes the packet based on the classification. Processor clock cycles are saved that would be consumed in determining the types. Furthermore, based on the classification, the processor can store an offset value for aligning the header relative to a cache line. The circuit block can store the packet shifted by the offset value. The processor can then retrieve from memory a single cache line to receive the header, thereby saving excess loading and ejecting of cache.
展开▼