diff options
author | Jesper Dangaard Brouer <[email protected]> | 2022-07-11 16:04:22 +0200 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-07-11 21:14:35 -0700 |
commit | 49705c4ab324654a7038fc843255140730477e04 (patch) | |
tree | 641956d6ecc8a0854cf899c798af9523153200fc /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | efc9909fdce00a827a37609628223cd45bf95d0b (diff) |
samples/bpf: Fix xdp_redirect_map egress devmap prog
LLVM compiler optimized out the memcpy in xdp_redirect_map_egress,
which caused the Ethernet source MAC-addr to always be zero
when enabling the devmap egress prog via cmdline --load-egress.
Issue observed with LLVM version 14.0.0
- Shipped with Fedora 36 on target: x86_64-redhat-linux-gnu.
In verbose mode print the source MAC-addr in case xdp_devmap_attached
mode is used.
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/165754826292.575614.5636444052787717159.stgit@firesoul
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions