首页> 外国专利> System and method for hierarchical metering in a virtual router based network switch

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.
机译:虚拟路由平台包括多个虚拟路由引擎(VRE)的线路接口,以识别不同数据包流的数据包并执行包括至少第一和第二级别的数据包流的计量层次结构。可以使用第一计量控制块(MCB)对第一分组流的分组执行第一计量级别。第一计量级别可以是计量级别的层次结构中的一个计量级别。使用第二MCB对第一分组流的分组和第二流的分组进行计量的第二级。第二计量级别可以是层次结构中的另一计量级别。在执行计量级别之前,可以在适当的MCB上放置一个缓存锁。第一和第二MCB可以是存储在虚拟路由平台的共享存储器中的数据结构。使用MCB执行计量级别后,可以释放缓存锁。高速缓存锁可以包括在高速缓存标签存储中设置高速缓存行索引的锁定位,其可以标识高速缓存存储器中的MCB。虚拟路由平台可以是利用共享存储器的多处理器系统,该共享存储器具有第一处理器和第二处理器以并行执行计量级别。在一个实施例中,虚拟路由引擎可以由在虚拟路由引擎的CPU的存储系统中运行的多个虚拟路由器上下文共享。在该实施例中,第一分组流可以与一个虚拟路由器上下文相关联,第二分组流可以与第二虚拟路由器上下文相关联。第一和第二路由上下文可以是驻留在虚拟路由引擎中的多个虚拟路由器上下文。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号