Lines Matching refs:xsk_socket_info
168 static void gen_eth_hdr(struct xsk_socket_info *xsk, struct ethhdr *eth_hdr) in gen_eth_hdr()
242 static void enable_busy_poll(struct xsk_socket_info *xsk) in enable_busy_poll()
262 static int __xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, in __xsk_configure_socket()
291 struct xsk_socket_info *xsk; in ifobj_zc_avail()
311 xsk = calloc(1, sizeof(struct xsk_socket_info)); in ifobj_zc_avail()
838 static void pkt_generate(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, u64 addr, u32 len, in pkt_generate()
1101 static bool kick_tx_with_check(struct xsk_socket_info *xsk, int *ret) in kick_tx_with_check()
1125 static int kick_tx(struct xsk_socket_info *xsk) in kick_tx()
1144 static int kick_rx(struct xsk_socket_info *xsk) in kick_rx()
1155 static int complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts()
1185 static int __receive_pkts(struct test_spec *test, struct xsk_socket_info *xsk) in __receive_pkts()
1305 bool all_packets_received(struct test_spec *test, struct xsk_socket_info *xsk, u32 sock_num, in all_packets_received()
1328 struct xsk_socket_info *xsk; in receive_pkts()
1362 static int __send_pkts(struct ifobject *ifobject, struct xsk_socket_info *xsk, bool timeout) in __send_pkts()
1486 static int wait_for_tx_completion(struct xsk_socket_info *xsk) in wait_for_tx_completion()