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.
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
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.
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.
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.