Unlock instant, AI-driven research and patent intelligence for your innovation.

Read-write method for forward information base and network processor

A forwarding information table and network processor technology, which is applied to the reading and writing method of the forwarding information table and the field of network processors, can solve the problem that commands cannot return responses in sequence, routing lookup errors, non-leaf nodes and corresponding leaf nodes cannot be modified synchronously And other issues

Active Publication Date: 2015-05-06
HUAWEI TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Embodiments of the present invention provide a method for reading and writing forwarding information tables and a network processor, which can solve the problem that the commands sent to the Cache in the prior art cannot return responses sequentially, so that non-leaf nodes and corresponding leaf nodes cannot be modified synchronously, resulting in The problem of routing lookup error

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
  • Read-write method for forward information base and network processor
  • Read-write method for forward information base and network processor
  • Read-write method for forward information base and network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The technical solutions in the embodiments of the present invention will be clearly described below in conjunction with 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 without making creative efforts belong to the protection scope of the present invention.

[0051] Such as figure 1 As shown, in the FIB table using the Btree structure, a parent node in the Btree has left and right child nodes, and the nodes can be empty or non-empty, and each non-empty node corresponds to a FIB entry for storing routing-related information , for example to store IP addresses. In the Btree structure, the nodes are divided into multiple layers, and the nodes can be numbered from right to left in each layer, and the number can be called the node addr...

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 embodiment of the invention provides a read-write method for a forward information base and a network processor, and relates to the technical field of communication. The problem that in the prior art, due to the fact that commands sent to the Cache can not return responses in sequence and non-leaf nodes and corresponding leaf nodes can not be synchronously modified, the routing lookup goes wrong. According to the specific scheme, the network processor receives an AD writing request used for modifying the AD and modifying a Key writing request of the Key corresponding to the AD; before the AD writing request and the Key writing request pass through a buffer, when any code region where reading and writing are to be conducted includes the Key, the row address in the AD writing request is converted into the row address which is the same as the row address of the node block where the Key is located; when any code region where reading and writing are to be conducted does not contain the Key, the row address in the AD writing request and the row address in the Key writing request are converted into the same row address in any node; thus, any node area is read and written according to the same row address. The method is used for writing and reading the forward information base.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for reading and writing a forwarding information table and a network processor. Background technique [0002] The Forward Information Base (FIB) is an information table that provides network devices (such as bridges, switches or routers, etc.) in data communication to forward data packets to the destination address, and is stored in the network processor (Network Processor) of the network hardware. , NP), its structural schematic diagram can be found in figure 1 , the FIB table adopts a binary search tree (Binary Search Tree, Btree) structure, and each non-empty node corresponds to a FIB entry. In the Btree structure, the nodes of other layers except the last layer (Branch) nodes can be called non-leaf nodes, which are used to store keywords (Key) such as Internet Protocol (Internet Protocol, IP) addresses, and the nodes of the last layer can be called As a leaf ...

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): H04L12/741H04L45/74H04L45/02H04L45/16
CPCG06F16/24558H04L12/413H04L45/02H04L12/28H04L45/00H04L12/18H04L12/46H04L45/16
Inventor 杨升陈武茂
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More