Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing network processor dynamic loading micro code and network device

A network processor and dynamic loading technology, applied in the field of data communication, can solve the problems of insufficient instruction space and network processor instruction space, and achieve the effect of solving insufficient instruction space

Inactive Publication Date: 2006-11-08
HUAWEI TECH CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The present invention provides a method for realizing dynamic loading of microcode by network processors, which is used to solve the defect of insufficient instruction space of network processors in the prior art, and cannot be downloaded to network processors when the code size (machine code) exceeds the instruction space Guaranteed to implement all its forwarding functions
[0015] The present invention provides a network device, which can solve the defect of insufficient instruction space of network processors in the prior art, and ensure the realization of all forwarding functions when the code size (machine code) exceeds the instruction space and cannot be downloaded to the 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
  • Method for realizing network processor dynamic loading micro code and network device
  • Method for realizing network processor dynamic loading micro code and network device
  • Method for realizing network processor dynamic loading micro code and network device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The codes of the network processor are generally compiled uniformly, and all codes are compiled to generate an object file, and then all are loaded into the instruction space of the instruction memory of the network processor. With the increase of interface types and functions, the actual code capacity is unaffordable for the limited instruction space.

[0038] Compared with the instruction memory, since the network processor needs to support various table lookup and statistical functions, its memory for storing data (hereinafter referred to as memory) has a very large capacity, including on-chip memory and off-chip memory. If some instructions can be stored in a relatively large memory, and transferred from the memory to the instruction memory for execution when execution is required, the limited instruction space can be reused, thereby solving the problem of insufficient instruction space.

[0039] The present invention uses the feature of large memory capacity to sto...

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

This invention relates to a method for dynamically loading micro-codes to network processors including the following steps: dividing the instruction code in a network processor, storing part of the divided instruction codes in a memory, designing an internal preserved instruction space in the instruction space of the processor, taking out the codes necessary to be carried out from the memory to write them in the preserved instruction space and carrying out related functions.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method for realizing dynamic loading of microcode by a network processor. Background technique [0002] At present, in the field of data communication, in order to improve forwarding efficiency, large-capacity routers generally adopt a distributed forwarding structure. The existing distributed forwarding structure such as figure 1 As shown, the routing lookup of the data packet is completed by the forwarding engine, and the packet switching between different forwarding engines is realized by the switching network. Each forwarding engine corresponds to an interface board and occupies a slot in the router chassis. Routing calculation is done by a processor independent of the forwarding engine and switching network. A prominent feature of this architecture is the separation of the forwarding layer and the control layer, which simplifies the functions of the forwarding engine. ...

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
IPC IPC(8): G06F9/445G06F12/02
Inventor 董书友姚娉
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products