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

A method for reading and writing forwarding information table and network processor

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

Active Publication Date: 2017-12-01
HUAWEI TECH CO LTD
View PDF4 Cites 0 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
  • A method for reading and writing forwarding information table and network processor
  • A method for reading and writing forwarding information table and network processor
  • A method for reading and writing forwarding information table 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

Embodiments of the present invention provide a method for reading and writing a forwarding information table and a network processor, which relate to the field of communication technology and can solve the problem that in the prior art, commands sent to Cache cannot return responses sequentially, so that non-leaf nodes and corresponding leaf nodes cannot The problem of route lookup error caused by synchronous modification. The specific scheme is: the network processor receives the write AD request for modifying the AD, and the write Key request for modifying the corresponding Key of the AD. Before the write AD request and the write Key request pass through the buffer, when any When the node area includes the Key, the row address in the write AD request is transformed into the same row address as the row address of the node block where the Key is located. When any node area to be read and written does not include the Key, it is written The row address and the row address in the write Key request are transformed into the same row address in any node area, and then read and write any node area according to the same row address. The embodiment of the present invention is used for reading and writing the forwarding information table.

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
Patent Type & Authority Patents(China)
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