首页> 外国专利> Systems and methods for implementing counters in a network processor with cost effective memory

Systems and methods for implementing counters in a network processor with cost effective memory

机译:用具有成本效益的存储器在网络处理器中实现计数器的系统和方法

摘要

Systems and methods for implementing counters in a network processor with cost effective memory are disclosed. Embodiments include systems and methods for implementing counters in a network processor using less expensive memory such as DRAM. A network processor receives packets and implements accounting functions including counting packets in each of a plurality of flow queues. Embodiments include a counter controller that may increment counter values more than once during a R-M-W cycle. Each time a counter controller receives a request to update a counter during a R-M-W cycle that has been initiated for the counter, the counter controller increments the counter value received from memory. The incremented value is written to memory during the write cycle of the R-M-W cycle. A write disable unit disables writes that would otherwise occur during R-M-W cycles initiated for the counter during the earlier initiated R-M-W cycle.
机译:公开了用于在具有成本有效的存储器的网络处理器中实现计数器的系统和方法。实施例包括用于使用诸如DRAM的较便宜的存储器在网络处理器中实现计数器的系统和方法。网络处理器接收分组并实现计费功能,该计费功能包括对多个流队列中的每个流队列中的分组进行计数。实施例包括计数器控制器,其可以在R-M-W周期期间多次增加计数器值。每当计数器控制器在已针对该计数器启动的R-M-W周期内接收到更新计数器的请求时,该计数器控制器都会递增从内存接收的计数器值。递增的值在R-M-W周期的写入周期中写入内存。写禁止单元禁止在较早启动的R-M-W周期期间为计数器启动的R-M-W周期期间发生的写操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号