Packet counters and packet adders for traffic profiling in a multiprocessor router
AssigneeSamsung Electronics Co., Ltd.
InventorsJack C. Wybenga, Patricia Kay Sturm
Life of this patent
Estimating the term…
Abstract
A packet counter/adder for use in a multiprocessor system. The packet counter stores a counter value of data packets processed by a plurality of processors in the multiprocessor system. The packet counter comprises a first register capable of storing the counter value, wherein the counter value in the first register is incremented by a write operation to a first address associated with the first register. The counter value in the first register may be set to a specified value by a write operation to a second address associated with the first register.
Claims20
A packet counter capable of storing a counter value of data packets processed by a plurality of processors in said multiprocessor system, said packet counter comprising:
- a first register capable of storing said counter value, wherein said counter value in said first register is incremented by a write operation to said packet counter, at a first address associated with said first register, made by a first one of said plurality of processors, wherein said counter value in said first register may be set to a specified value by a write operation to a second address associated with said first register, and wherein a read operation to said second address by said first processor returns said counter value from said first register to said first processor and does not clear said counter value in said first register.
A packet length adder capable of storing a packet length summation value of data packets processed by a plurality of processors in said multiprocessor system, said packet length adder comprising:
- at least one register storing said packet length summation value,
- wherein said packet length summation value in said register is incremented by a packet length value on a data bus of said packet length adder by a write operation to said packet length adder, at a first address associated with said first register, made by a first one of said plurality of processors, wherein said packet length summation value in said first register may be set to a specified value by a write operation to a second address associated with said first register, and wherein a read operation to said second address by said first processor returns said packet length summation value from said first register to said first processor and does not clear said packet length summation value in said first register.
A router for interconnecting external devices coupled to said router, said router comprising a switch fabric;
- and a plurality of routing nodes coupled to said switch fabric, wherein each of said plurality of routing nodes is capable of exchanging data packets with said external devices and with other ones of said plurality of routing nodes via said switch fabric, wherein a first of said plurality of routing nodes comprises:
- a plurality of packet processing elements capable of routing data packets;
- and
- a packet counter capable of storing a counter value of data packets routed by said plurality of packet processing elements, said packet counter comprising:
- a first register capable of storing said counter value, wherein said counter value in said first register is incremented by a write operation to said packet counter, at a first address associated with said first register, made by a first one of said plurality of packet processing elements, wherein said counter value in said first register may be set to a specified value by a write operation to a second address associated with said first register, and wherein a read operation to said second address by said first packet processing element returns said counter value from said first register to said first packet processing element and does not clear said counter value in said first register.
Dependencies are inferred from the claim text.