发明名称 System and method for hierarchical metering in a virtual router based network switch
摘要 A virtual routing platform includes a line interface a plurality of virtual routing engines (VREs) to identify packets of different packet flows and perform a hierarchy of metering including at least first and second levels of metering on the packet flows. A first level of metering may be performed on packets of a first packet flow using a first metering control block (MCB). The first level of metering may be one level of metering in a hierarchy of metering levels. A second level of metering on the packets of the first packet flow and packets of a second flow using a second MCB. The second level of metering may be another level of metering in the hierarchy. A cache-lock may be placed on the appropriate MCB prior to performing the level of metering. The first and second MCBs may be data structures stored in a shared memory of the virtual routing platform. The cache-lock may be released after performing the level of metering using the MCB. The cache-lock may comprise setting a lock-bit of a cache line index in a cache tag store, which may identify a MCB in the cache memory. The virtual routing platform may be a multiprocessor system utilizing a shared memory having a first and second processors to perform levels of metering in parallel. In one embodiment, a virtual routing engine may be shared by a plurality of virtual router contexts running in a memory system of a CPU of the virtual routing engine. In this embodiment, the first packet flow may be associated with one virtual router context and the second packet flow is associated with a second virtual router context. The first and second routing contexts may be of a plurality of virtual router contexts resident in the virtual routing engine.
申请公布号 US2003223361(A1) 申请公布日期 2003.12.04
申请号 US20020163162 申请日期 2002.06.04
申请人 HUSSAIN ZAHID;DESAI SACHIN;ALAM NAVEED;CHENG JOSEPH;MILLET TIM 发明人 HUSSAIN ZAHID;DESAI SACHIN;ALAM NAVEED;CHENG JOSEPH;MILLET TIM
分类号 H04L12/26;H04L12/56;H04L29/06;(IPC1-7):H04L12/26 主分类号 H04L12/26
代理机构 代理人
主权项
地址