mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
Make tc pin the ts_start map when loading the TC-BPF program, and rewrite XDP loader to reuse map pinned by tc. Also add comment with TODO list in pping.c. Testing pping by adding a delay through a netem qdisc in the test environment shows that the reported RTT will approach 100ms for any delay lower than 100ms, but the correct RTT for any delay over 100ms. Root cause is unknown, but Pollere's original pping implementation (as well as a bpftrace based pping implementation) shows the same issue. This issue has not been observed when running on real interfaces without a netem qdisc. Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
