Home
last modified time | relevance | path

Searched defs:ifobject (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.h122 struct ifobject { struct
123 char ifname[MAX_INTERFACE_NAME_CHARS];
124 struct xsk_socket_info *xsk;
125 struct xsk_socket_info *xsk_arr;
126 struct xsk_umem_info *umem;
127 thread_func_t func_ptr;
128 validation_func_t validation_func;
129 struct xsk_xdp_progs *xdp_progs;
130 struct bpf_map *xskmap;
154 struct ifobject *ifobject_create(void); argument
H A Dtest_xsk.c158 struct ifobject *ifobject, bool shared) in xsk_configure_socket()
1150 static int __send_pkts(struct ifobject *ifobject, struct xsk_socket_info *xsk, bool timeout) in __send_pkts()
1304 static int send_pkts(struct test_spec *test, struct ifobject *ifobject) in send_pkts()
1363 static int validate_rx_dropped(struct ifobject *ifobject) in validate_rx_dropped()
1390 static int validate_rx_full(struct ifobject *ifobject) in validate_rx_full()
1411 static int validate_fill_empty(struct ifobject *ifobject) in validate_fill_empty()
1432 static int validate_tx_invalid_descs(struct ifobject *ifobject) in validate_tx_invalid_descs()
1459 static int xsk_configure(struct test_spec *test, struct ifobject *ifobject, in xsk_configure()
1489 static int thread_common_ops_tx(struct test_spec *test, struct ifobject *ifobject) in thread_common_ops_tx()
1549 static int thread_common_ops(struct test_spec *test, struct ifobject *ifobject) in thread_common_ops()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c120 static bool ifobj_zc_avail(struct ifobject *ifobject) in ifobj_zc_avail()