selftests/bpf: Add TX side to xdp_metadata
authorStanislav Fomichev <sdf@google.com>
Mon, 27 Nov 2023 19:03:17 +0000 (11:03 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Nov 2023 22:59:41 +0000 (14:59 -0800)
commit40808a237d9c8fcaa3eaeefe2ac59e4733907478
tree0630bec77c29dfa97741ff59a7e8d067777865ba
parentf6642de0c3e94d3ef6f44e127d11fcf4138873f7
selftests/bpf: Add TX side to xdp_metadata

Request TX timestamp and make sure it's not empty.
Request TX checksum offload (SW-only) and make sure it's resolved
to the correct one.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20231127190319.1190813-12-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/xdp_metadata.c