For my experiment I am trying to run P4 on a Linux bridge connecting wlan and eth. Is there any way I could run P4 on such an environment? I am also open to having a user space switch running P4 on a x86 machine. Thank you for all the help.
Hi @kspimparkar,
- basically you want to program a linux bridge via P4?
- here GitHub - p4lang/behavioral-model: The reference P4 software switch you can find the bmv2 switch, is the reference software switch fully compatible with the P4 spec
You may be able to use the p4 to ebpf compiler: p4c/backends/ebpf/psa at main · p4lang/p4c · GitHub