Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/
Dxskxceiver.c258 if (ifobject->pkt_stream && ifobject->mtu > MAX_ETH_PKT_SIZE) in __xsk_configure_socket()
399 ifobj->pkt_stream = test->tx_pkt_stream_default; in __test_spec_init()
403 ifobj->pkt_stream = test->rx_pkt_stream_default; in __test_spec_init()
432 struct pkt_stream *tx_pkt_stream; in test_spec_init()
433 struct pkt_stream *rx_pkt_stream; in test_spec_init()
496 static void pkt_stream_reset(struct pkt_stream *pkt_stream) in pkt_stream_reset() argument
498 if (pkt_stream) in pkt_stream_reset()
499 pkt_stream->current_pkt_nb = 0; in pkt_stream_reset()
502 static struct pkt *pkt_stream_get_next_tx_pkt(struct pkt_stream *pkt_stream) in pkt_stream_get_next_tx_pkt() argument
504 if (pkt_stream->current_pkt_nb >= pkt_stream->nb_pkts) in pkt_stream_get_next_tx_pkt()
[all …]
Dxskxceiver.h133 struct pkt_stream { struct
152 struct pkt_stream *pkt_stream; member
179 struct pkt_stream *tx_pkt_stream_default;
180 struct pkt_stream *rx_pkt_stream_default;