aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <[email protected]>2022-06-29 16:34:57 +0200
committerDaniel Borkmann <[email protected]>2022-06-30 22:49:10 +0200
commit6d4c767c032b165cc290c51f4e82bc54b14b1cf1 (patch)
tree502df54dd9c27f245b25c37e8ee6b025a517ad0d /tools/perf/scripts/python/libxed.py
parent61333008d01e18716a7050fdc9479cc8d6e63883 (diff)
selftests/xsk: Verify correctness of XDP prog attach point
To prevent the case we had previously where for TEST_MODE_SKB, XDP prog was attached in native mode, call bpf_xdp_query() after loading prog and make sure that attach_mode is as expected. Signed-off-by: Maciej Fijalkowski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Magnus Karlsson <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions