Home
last modified time | relevance | path

Searched refs:tx_xsk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c287 struct xsk tx_xsk = {}; in test_xdp_metadata() local
314 ret = open_xsk(tx_ifindex, &tx_xsk); in test_xdp_metadata()
358 if (!ASSERT_GE(generate_packet(&tx_xsk, AF_XDP_CONSUMER_PORT), 0, in test_xdp_metadata()
367 complete_tx(&tx_xsk); in test_xdp_metadata()
387 if (!ASSERT_GE(generate_packet(&tx_xsk, AF_XDP_CONSUMER_PORT), 0, in test_xdp_metadata()
400 close_xsk(&tx_xsk); in test_xdp_metadata()