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

Method for searching and storing routing table items and network chip

A network chip and table entry technology, applied in the field of data processing, can solve the problems of low speed of routing table entry lookup and long waiting time, etc.

Active Publication Date: 2021-11-05
NEW H3C TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above method will cause other CPUs to wait for a long time to obtain the routing table entry, and the speed of routing table entry search is low.

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 searching and storing routing table items and network chip
  • Method for searching and storing routing table items and network chip
  • Method for searching and storing routing table items and network chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art based on the present application belong to the protection scope of the present invention.

[0030] Because in the prior art, if the CPU concurrently requests the network chip to search for the same routing table entry synchronously, the CPU needs to wait for a long time to obtain the routing table entry, and the speed of routing table entry search is low. In order to solve this problem, the present invention The embodiment provides a method for searching and storing routing table items and a network chip.

[0031] An embodiment of the present invent...

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

Embodiments of the present invention provide a method for searching and storing routing table items and a network chip, which relate to the technical field of data processing and are applied to a network chip. The network chip includes a central processing unit, a second-level buffer, and a memory controller. The second-level buffer receives the first entry lookup instruction for the target routing entry sent by the central processing unit; determines the first memory where the target routing entry is located and the first address in the first memory, the first address The corresponding target storage space is currently not being accessed; sending a second entry lookup instruction carrying the first address to the memory controller connected to the first memory. The memory controller obtains the target routing entry from the first memory based on the first address, and feeds back the target routing entry to the central processing unit. Applying the solutions provided by the embodiments of the present invention can increase the speed of routing table item search.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method for searching and storing routing table items and a network chip. Background technique [0002] Network devices are generally equipped with a network chip. The network chip is generally equipped with a CPU (Central Processing Unit, central processing unit). The network chip can store routing entries, but the storage space of the network chip is generally small, and the number of routing entries that can be stored is relatively large. Therefore, the network device is generally configured with a memory for storing routing table entries. [0003] Based on this, after the CPU in the above-mentioned network chip receives the message, it needs to forward the message according to the routing table entry, and the CPU can send an entry lookup command to the L2C (Level Two Cache, second-level cache area) in the network chip, The L2C assists the CPU in accessing the memory...

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): G06F12/0811G06F12/0897
CPCG06F12/0811G06F12/0897
Inventor 邢焕兴孙向东黄敏
Owner NEW H3C 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