Flexible scheme for buffer space allocation in networking devices
Abstract
A method and apparatus for storing a data packet in a networking device. The networking device has a plurality of buffers. Each buffer has a respective size. A predetermined, ordered sequence of buffer sets is established. A buffer is allocated from the plurality of buffers. The allocated buffer is selected from the first set in the ordered sequence. If the packet size does not exceed the allocated buffer size, the entire packet is stored in the allocated buffer. Otherwise, a portion of the data packet sufficient to fill the allocated buffer is stored into the allocated buffer. If the packet size is greater than the size of the allocated buffer, further portions of the data packet are stored into respective further buffers. The further buffers are allocated from the plurality of sets of buffers. The further buffers are allocated so that the sequence of their respective sizes match the predetermined, ordered sequence of sets of buffers.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 92.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for storing a data packet having a packet size in a networking device having a plurality of buffers, each buffer having a respective size, comprising the steps of: (a) partitioning the plurality of buffers into a plurality of sets, each set having buffers of a respectively different size; (b) establishing an ordered sequence of sets of buffers, one of said sets being a first set in said ordered sequence; (c) allocating a buffer from said first set for temporary storage of a portion of the data packet, said allocated buffer having a size; (d) storing the portion of the data packe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗