Home
last modified time | relevance | path

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

/samples/bpf/
Dxdpsock_user.c147 struct xsk_ring_prod tx; member
851 bool rx, bool tx) in xsk_configure_socket() argument
874 txr = tx ? &xsk->tx : NULL; in xsk_configure_socket()
1185 if (!opt_need_wakeup || xsk_ring_prod__needs_wakeup(&xsk->tx)) { in complete_tx_only()
1272 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1280 struct xdp_desc *tx_desc = xsk_ring_prod__tx_desc(&xsk->tx, in tx_only()
1286 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only()
1378 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
1383 if (opt_busy_poll || xsk_ring_prod__needs_wakeup(&xsk->tx)) { in l2fwd()
1387 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
[all …]