CSU-NetLab / A2TP-Eurosys2023

MIT License
8 stars 2 forks source link

About blackbox stateful register if I want to convert p4 Tofino to Bmv2. #1

Open 122413693 opened 1 year ago

122413693 commented 1 year ago

Excuse me, I find that A2TP just run in the Tofino, but not all person has the Tofino switch. So if we want to replicate experiment, we can just run code in the Bmv2, but the blackbox stateful register don't exist in the Bmv2. Can you help me? a.)Tell we ablout the blackbox stateful register constructs in the Tofino P4_14 compiler, what it is doing in the general. Or b.)Whether I have a chance to go to your lab,and learn more about the A2TP. Thanks a lot.

kobe-S9 commented 5 months ago

Do you solve it?

CSU-NetLab commented 3 months ago

Excuse me, I find that A2TP just run in the Tofino, but not all person has the Tofino switch. So if we want to replicate experiment, we can just run code in the Bmv2, but the blackbox stateful register don't exist in the Bmv2. Can you help me? a.)Tell we ablout the blackbox stateful register constructs in the Tofino P4_14 compiler, what it is doing in the general. Or b.)Whether I have a chance to go to your lab,and learn more about the A2TP. Thanks a lot.

Sorry for the late reply. In Tofino P4-14, blackbox stateful is used to access and update registers. I believe the same logic can be implemented in Bmv2. You could join the Intel Connectivity Research Program (ICRP) to access the official document, where you can find detailed information about tofino stateful processing. Due to confidentiality agreements from ICRP, I cannot publicly show you the document.