Lines Matching full:xdp
31 * @xdp: buffer to free
36 void libeth_xsk_buff_free_slow(struct libeth_xdp_buff *xdp) in libeth_xsk_buff_free_slow() argument
38 xsk_buff_free(&xdp->base); in libeth_xsk_buff_free_slow()
45 * @xdp: frag buffer
54 struct libeth_xdp_buff *xdp) in libeth_xsk_buff_add_frag() argument
56 if (!xsk_buff_add_frag(&head->base, &xdp->base)) in libeth_xsk_buff_add_frag()
62 libeth_xsk_buff_free_slow(xdp); in libeth_xsk_buff_add_frag()
72 * @xdp: buffer to account
78 const struct libeth_xdp_buff *xdp) in libeth_xsk_buff_stats_frags() argument
80 libeth_xdp_buff_stats_frags(rs, xdp); in libeth_xsk_buff_stats_frags()
86 * @xdp: buffer to process
96 * Return: libeth_xdp XDP prog verdict.
98 u32 __libeth_xsk_run_prog_slow(struct libeth_xdp_buff *xdp, in __libeth_xsk_run_prog_slow() argument
104 xsk_buff_free(&xdp->base); in __libeth_xsk_run_prog_slow()
115 return libeth_xdp_prog_exception(bq, xdp, act, ret); in __libeth_xsk_run_prog_slow()
120 * libeth_xsk_prog_exception - handle XDP prog exceptions on XSk
121 * @xdp: buffer to process
128 * Return: libeth_xdp's XDP prog verdict.
130 u32 __cold libeth_xsk_prog_exception(struct libeth_xdp_buff *xdp, in libeth_xsk_prog_exception() argument
139 xsk = container_of(&xdp->base, typeof(*xsk), xdp); in libeth_xsk_prog_exception()
144 libeth_xsk_buff_free_slow(xdp); in libeth_xsk_prog_exception()