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

Active Publication Date: 2011-09-21
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a network processor and its data processing method, which solves the problem of wasting effective instructions in the Parse stage due to the construction of useless lookup keys, thereby improving the data forwarding efficiency of the entire network processor

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Network processor and data processing method thereof
  • Network processor and data processing method thereof
  • Network processor and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with specific embodiments.

[0031] see figure 1 and figure 2 , still taking the NP-2rev B network processor as an example, figure 2 It shows the main modules when the network processor of the specific embodiment of the present invention performs data processing. It should be understood that, figure 2 The possibility of the network processor including other modules is not limited. like figure 2 As shown, the network processor includes a driver module, a statistics module and a microcode module. In the present invention, the driver module is mainly used to write the configuration information of the port and / or VLAN into the statistics module. The statistics module is mainly used to realize the counting function. It can provide up to 16 trillion 36bits counters. There are three types of counters: 36bits, 54bits and 72bits. And the address of the ...

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

PUM

No PUM Login to view more

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.

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/02H04L12/46
Inventor 陈世猛
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products