Network processor and data processing method thereof

A network processor and data processing technology, applied in the field of data transmission, can solve the problem of wasting effective instructions, and achieve the effect of saving instructions and improving the efficiency of data forwarding
CN101335737BActive Publication Date: 2011-09-21ZTE CORP

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
ZTE CORP
Publication Date
2011-09-21

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a network processor and a data processing method thereof; the network processor comprises a driver module, a statistics module and a micro-code module; the data processing comprises an analysis phase for carrying out analysis to a data packet; the data processing method includes the following steps: A. the driver module writes down the configuration information of at leastone between the port of the network processor and the VLAN into the statistics module; B. in the analysis phase, the micro-code module accesses the statistics module and then obtains the configuration information, and later the searching of key values is carried out according to the configuration information structure. By writing down the configuration information of the port and / or the VLAN intothe statistics module, the micro-code module uses the configuration information of the statistics module structure to construct the searching key value, thereby avoiding constructing redundant searching key values for the business and function without configuration in the Parse phase, saving the instructions and enhancing the data transmitting efficiency of the network processor.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of data transmission, in particular to a network processor and a data processing method thereof. Background technique

[0002] The network processor can be used to realize data forwarding and other processing. Take the NP-2rev B network processor as an example. NP-2rev B is a network processor chip that can provide 10G bidirectional data processing capability and has flexible programming. Ability, developers can realize the processing of various services in data transmission by writing microcode. When it processes data packets, it is generally divided into 4 stages: Parse (analysis), Search (find), Resolve (solve) and Modify (modify). Parse mainly analyzes the data packets, and then constructs the search keys required by various business processes according to the results of the analysis, and finally transmits these search keys to Search for search. The Parse stage does not provide the search function of the table. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More