Invention Grant
US07848332B2 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
Abstract:
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.
Information query
Patent Agency Ranking
0/0