Closed tatry closed 2 years ago
Closes #1
libbpf
iproute2
rm
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):
time sudo ./test.sh
CLI from master:
real 4m34,150s user 1m52,277s sys 0m13,671s
Using only libbpf to manage TC qdisc:
real 4m23,721s user 1m44,708s sys 0m12,842s
Using libbpf to manage TC qdisc and POSIX to remove pipeline directory:
real 4m18,553s user 1m44,227s sys 0m13,132s
Closes #1
libbpf
to create TC qdisc and attach bpf programs.libbpf
to destroy TC qdisc with attached bpf programs.iproute2
dependency.rm
in new process.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):CLI from master:
Using only
libbpf
to manage TC qdisc:Using
libbpf
to manage TC qdisc and POSIX to remove pipeline directory: