参考:

[Question] How to make conversion between P4 14 and P4 16?

使用p4c将P4 14代码转换为16代码:

$ p4test --p4v 14 --pp foo-translated-to-p4-16.p4 foo-in-p4-14.p4

其中,foo-in-p4-14.p4为14程序,foo-translated-to-p4-16.p4为16程序。

2017.9

相关文章:

  • 2021-12-22
  • 2021-11-30
  • 2022-01-21
  • 2021-09-25
  • 2022-03-05
  • 2022-12-23
  • 2022-01-22
猜你喜欢
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2021-12-03
  • 2022-01-17
相关资源
相似解决方案