Lines Matching refs:xdpf
240 struct sk_buff *__xdp_build_skb_from_frame(struct xdp_frame *xdpf,
243 struct sk_buff *xdp_build_skb_from_frame(struct xdp_frame *xdpf,
246 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf);
310 void xdp_return_frame(struct xdp_frame *xdpf);
311 void xdp_return_frame_rx_napi(struct xdp_frame *xdpf);
314 void xdp_return_frame_bulk(struct xdp_frame *xdpf,
323 static inline void xdp_release_frame(struct xdp_frame *xdpf) in xdp_release_frame() argument
325 struct xdp_mem_info *mem = &xdpf->mem; in xdp_release_frame()
333 if (likely(!xdp_frame_has_frags(xdpf))) in xdp_release_frame()
336 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_release_frame()
343 __xdp_release_frame(xdpf->data, mem); in xdp_release_frame()
346 static __always_inline unsigned int xdp_get_frame_len(struct xdp_frame *xdpf) in xdp_get_frame_len() argument
349 unsigned int len = xdpf->len; in xdp_get_frame_len()
351 if (likely(!xdp_frame_has_frags(xdpf))) in xdp_get_frame_len()
354 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_get_frame_len()