diff options
author | Stanislav Fomichev <[email protected]> | 2023-01-19 14:15:30 -0800 |
---|---|---|
committer | Martin KaFai Lau <[email protected]> | 2023-01-23 09:58:21 -0800 |
commit | e2a46d54d7a100c79c9d645184db9ce594c8f5f6 (patch) | |
tree | 86eb2f6c466a663a56cafe32b29592a22f5aa66f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 306531f0249f4e1c1aabaa0d70d24a1e9c71e38b (diff) |
selftests/bpf: Verify xdp_metadata xdp->af_xdp path
- create new netns
- create veth pair (veTX+veRX)
- setup AF_XDP socket for both interfaces
- attach bpf to veRX
- send packet via veTX
- verify the packet has expected metadata at veRX
Cc: John Fastabend <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Martin KaFai Lau <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Willem de Bruijn <[email protected]>
Cc: Jesper Dangaard Brouer <[email protected]>
Cc: Anatoly Burakov <[email protected]>
Cc: Alexander Lobakin <[email protected]>
Cc: Magnus Karlsson <[email protected]>
Cc: Maryam Tahhan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions