Table writing method and device of network equipment, network equipment system and storage medium

By defining the P4 language table writing syntax and generating forwarding plane configuration, the portability issue of P4 code between different chip architectures is solved, the association between table writing operations and table lookup is realized, and the usability and portability of network equipment are improved.

CN120610690APending Publication Date: 2025-09-09ZTE CORP
0 Cites 0 Cited by

Patent Information

Application Number
CN202410261091.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-06
Publication Date
2025-09-09

AI Technical Summary

Technical Problem

Due to the differences in the architecture and implementation methods of programmable chips, the same set of P4 code is difficult to compile on multiple target chips, resulting in poor portability and platform independence of the P4 code. Table write operations and table lookup operations cannot be completely decoupled, affecting application requirements.

Method used

Define the P4 language table writing syntax, extend the P4 syntax specification, generate the forwarding plane configuration that supports the table writing function through the compiler, and load it to the programmable forwarding chip on the data plane of the network device system to realize the association between table writing operations and table lookup and maintain consistency.

Benefits of technology

It improves the portability and usability of P4 code between different chip architectures, meets the table writing requirements of programmable forwarding chips, and maintains the consistency of table writing and table lookup.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The embodiment of the invention provides a table writing method of network equipment, which comprises the following steps of: defining a P4 language table writing grammar for supporting table writing operation on a P4 table item, receiving program information written by a user based on the P4 language table writing grammar, calling a compiler to compile the program information to obtain forwarding surface table writing configuration information, and writing the forwarding surface table writing configuration information into the P4 table item. And loading the forwarding plane table-writing configuration information to the network equipment, and enabling the network equipment to perform table-writing operation according to the forwarding plane table-writing configuration information, so that the deficiency of P4 language table-writing grammar can be filled up, and the usability of table-writing codes and the portability of P4 codes are improved.
Need to check novelty before this filing date? Find Prior Art