Lines Matching defs:libeth_xdp_buff

27  * &xdp_buff_xsk is the largest structure &libeth_xdp_buff gets casted to,
36 * struct libeth_xdp_buff - libeth extension over &xdp_buff
47 struct libeth_xdp_buff {
57 static_assert(offsetof(struct libeth_xdp_buff, data) ==
59 static_assert(offsetof(struct libeth_xdp_buff, desc) ==
62 __alignof(struct libeth_xdp_buff)));
65 * __LIBETH_XDP_ONSTACK_BUFF - declare a &libeth_xdp_buff on the stack
72 * LIBETH_XDP_ONSTACK_BUFF - declare a &libeth_xdp_buff on the stack
80 __DEFINE_FLEX(struct libeth_xdp_buff, name, priv, \
92 (ALIGN(sz, __alignof(struct libeth_xdp_buff)) / sizeof(long))
97 struct_size_t(struct libeth_xdp_buff, priv, \
348 struct libeth_xdp_buff *xsk;
589 void libeth_xdp_return_buff_slow(struct libeth_xdp_buff *xdp);
599 const struct libeth_xdp_buff *xdp)
638 struct libeth_xdp_buff *xdp,
1163 void libeth_xdp_load_stash(struct libeth_xdp_buff *dst,
1166 const struct libeth_xdp_buff *src);
1170 * libeth_xdp_init_buff - initialize a &libeth_xdp_buff for Rx NAPI poll
1180 libeth_xdp_init_buff(struct libeth_xdp_buff *dst,
1202 const struct libeth_xdp_buff *src)
1241 * libeth_xdp_return_buff - free/recycle &libeth_xdp_buff
1244 * Hotpath helper to free &libeth_xdp_buff. Comparing to xdp_return_buff(),
1250 static inline void __libeth_xdp_return_buff(struct libeth_xdp_buff *xdp,
1264 bool libeth_xdp_buff_add_frag(struct libeth_xdp_buff *xdp,
1269 * libeth_xdp_prepare_buff - fill &libeth_xdp_buff with head FQE data
1278 static inline void libeth_xdp_prepare_buff(struct libeth_xdp_buff *xdp,
1290 * libeth_xdp_process_buff - attach Rx buffer to &libeth_xdp_buff
1303 static inline bool libeth_xdp_process_buff(struct libeth_xdp_buff *xdp,
1330 const struct libeth_xdp_buff *xdp)
1340 struct libeth_xdp_buff *xdp,
1355 __libeth_xdp_run_prog(struct libeth_xdp_buff *xdp,
1403 __libeth_xdp_run_flush(struct libeth_xdp_buff *xdp,
1405 u32 (*run)(struct libeth_xdp_buff *xdp,
1408 struct libeth_xdp_buff *xdp,
1457 * 2) fills the descriptor metadata to the onstack &libeth_xdp_buff
1469 __libeth_xdp_run_pass(struct libeth_xdp_buff *xdp,
1472 void (*prep)(struct libeth_xdp_buff *xdp,
1474 bool (*run)(struct libeth_xdp_buff *xdp,
1477 const struct libeth_xdp_buff *xdp,
1514 static inline void libeth_xdp_prep_desc(struct libeth_xdp_buff *xdp,
1643 name(struct libeth_xdp_buff *xdp, struct libeth_xdp_tx_bulk *bq) \
1658 name(struct libeth_xdp_buff *xdp, struct libeth_xdp_tx_bulk *bq, \
1701 * @xdp: &libeth_xdp_buff corresponding to the queue
1708 * additional fields (&libeth_xdp_buff is precisely 1 cacheline long on x64).
1746 void libeth_xsk_buff_free_slow(struct libeth_xdp_buff *xdp);