摘要 |
PROBLEM TO BE SOLVED: To provide system independent and scalable packet buffer management architecture for network processors. SOLUTION: A circular buffer storing packets for processing by one or more network processors employs an empty buffer address register identifying where a next received packet should be stored, a next packet address register identifying the next packet to be processed and a packet-processing address register in each network processor identifying the packet being processed by the network processor. N-bit address to the buffer are mapped or masked from/to m-bit packet-processing address registers by software, thereby enabling the buffer size to be fully scalable. A dedicated packet retrieval instruction supported by the network processor retrieves a new packet for processing by using the next packet address register and copies the packet into the related packet- processing address register in order to use the packet in subsequent accesses. COPYRIGHT: (C)2003,JPO
|