NIKSS-vSwitch / nikss

Native In-Kernel P4-programmable Software Switch for Software-Defined Networking (previously PSA-eBPF)
Apache License 2.0
48 stars 4 forks source link

Use libbpf to create & attach eBPF programs to TC hook #57

Closed tatry closed 2 years ago

tatry commented 2 years ago

Closes #1

PTF tests: https://github.com/tatry/p4c/pull/13

libbpf updated from v0.3.0 to v0.5.0:

After patch, you have to re-call build_libbpf.sh script.

For curiosity, there is small PTF tests performance comparison (command: time sudo ./test.sh, no repeated):