Lines Matching full:prep
500 * @prep: callback for cleaning the queue and filling abstract &libeth_xdpsq
507 * @prep must lock the queue as this function releases it at the end. @unroll
514 * available. The actual free space is returned by @prep from the driver.
519 u32 (*prep)(void *xdpsq, struct libeth_xdpsq *sq),
530 n = min(n, prep(xdpsq, &sq));
761 * @prep: driver-specific callback to prepare the queue for sending
772 u32 (*prep)(void *xdpsq, struct libeth_xdpsq *sq),
785 false, 0, prep, fill, xmit);
804 * @prep: driver callback to prepare the queue
810 #define libeth_xdp_tx_flush_bulk(bq, flags, prep, xmit) \
811 __libeth_xdp_tx_flush_bulk(bq, flags, prep, libeth_xdp_tx_fill_buf, \
1024 * @prep: driver callback to prepare the queue
1030 #define libeth_xdp_xmit_flush_bulk(bq, flags, prep, xmit) \
1031 __libeth_xdp_tx_flush_bulk(bq, (flags) | LIBETH_XDP_TX_NDO, prep, \
1451 * @prep: callback for filling the metadata
1472 void (*prep)(struct libeth_xdp_buff *xdp,
1488 if (prep && (!__builtin_constant_p(!!md) || md))
1489 prep(xdp, md);
1610 * @prep: driver callback to clean an XDPSQ
1613 #define LIBETH_XDP_DEFINE_FLUSH_TX(name, prep, xmit) \
1614 __LIBETH_XDP_DEFINE_FLUSH_TX(name, prep, xmit, xdp)
1616 #define __LIBETH_XDP_DEFINE_FLUSH_TX(name, prep, xmit, pfx) \
1619 return libeth_##pfx##_tx_flush_bulk(bq, flags, prep, xmit); \
1625 * @prep: driver callback to clean an XDPSQ
1628 #define LIBETH_XDP_DEFINE_FLUSH_XMIT(name, prep, xmit) \
1631 return libeth_xdp_xmit_flush_bulk(bq, flags, prep, xmit); \