Invention Grant
US09594616B2 Method for implementing counting control of counter, and network chip
有权
实现计数器和网络芯片计数控制的方法
- Patent Title: Method for implementing counting control of counter, and network chip
- Patent Title (中): 实现计数器和网络芯片计数控制的方法
-
Application No.: US14781835Application Date: 2014-03-25
-
Publication No.: US09594616B2Publication Date: 2017-03-14
- Inventor: Haiming Jiang , Jiancheng Liu
- Applicant: ZTE Corporation
- Applicant Address: CN Shenzhen
- Assignee: ZTE CORPORATION
- Current Assignee: ZTE CORPORATION
- Current Assignee Address: CN Shenzhen
- Agency: Cantor Colburn LLP
- Priority: CN201310113681 20130402
- International Application: PCT/CN2014/074010 WO 20140325
- International Announcement: WO2014/161439 WO 20141009
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/07 ; H04L12/08 ; H04L12/70 ; H04L12/26

Abstract:
Provided are a method for implementing counting control of a counter in a network chip, and a network chip. The method includes: periodically generating a counting value scanning message; reading a counting value of a corresponding counter item according to the generated counting value scanning message; analyzing and judging whether the read counting value is less than a preset overflow threshold; and informing the processor to handle counting abnormality of the counter when the read counting value is not less than the preset overflow threshold. The system can realize the periodic diagnosis on the counting state of the counter in the network chip by using a packet generator and a message processing engine, so as to prevent the processor from constantly sampling the counter to check the state of the counter, and ensure the calculation performance of the processor.
Public/Granted literature
- US20160062809A1 Method for Implementing Counting Control of Counter, and Network Chip Public/Granted day:2016-03-03
Information query