Processors
Intel® Processors, Tools, and Utilities
14516 Discussions

Regarding Intel Tofino P4_16 Register read/write

Divya03
Beginner
296 Views
  • As per the Tofino Native Architecture, we can define up to four separate RegisterActions for a single Register extern, but only one RegisterAction may be executed per packet for a given Register.  
  • For my code, I have to read from multiple registers and write to those registers. But due to the above restriction, I cannot read and write in one go.
  • The solution is to resubmit the packet. It would have been fine for me if resubmission happened only in some cases. But in my case, every packet has to be resubmitted.
  • Is there any other efficient way to do the above read/write task?
0 Kudos
1 Reply
AlHill
Super User
282 Views

One post is enough.  Stay with your other post:

https://community.intel.com/t5/Programmable-Devices/Regarding-Intel-Tofino-P4-16-Register-read-write/m-p/1443786

 

Doc (not an Intel employee or contractor)
[Maybe Windows 12 will be better]

0 Kudos
Reply