Network protocol header alignment
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a packet; identifying a type of a first network protocol and a type of a second network protocol, the first network protocol and the second network protocol used by the packet; determining a classification of the packet based on the type of the first network protocol combined with the type of the second network protocol; receiving an offset value associated with the classification; and aligning a header for the second network protocol relative to a boundary of a cache line by shifting the packet based on the offset value.
- Claim 2Depends on #1
The method of claim 1 , further comprising: routing the packet based at least in part on the second network protocol.
- Claim 3Depends on #1
The method of claim 1 , wherein the offset value is a number of bits.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (2)
- Direct Deposit-When Message Passing Meets Shared Memory, Thomas M. Sticker, May 29, 2000.
- Direct Deposit—When Message Passing Meets Shared Memory, Thomas M. Sticker, May 29, 2000.