Lines Matching defs:netmem
205 void xdp_return_frag(netmem_ref netmem, const struct xdp_buff *xdp);
210 * @netmem: network memory containing the frag
226 static inline bool __xdp_buff_add_frag(struct xdp_buff *xdp, netmem_ref netmem,
247 if (try_coalesce && netmem == skb_frag_netmem(prev) &&
251 xdp_return_frag(netmem, xdp);
256 __skb_fill_netmem_desc_noacc(sinfo, nr_frags++, netmem,
270 * @netmem: network memory containing the frag
280 static inline bool xdp_buff_add_frag(struct xdp_buff *xdp, netmem_ref netmem,
283 if (!__xdp_buff_add_frag(xdp, netmem, offset, size, truesize, true))
286 if (unlikely(netmem_is_pfmemalloc(netmem)))
288 if (unlikely(netmem_is_net_iov(netmem)))
448 void __xdp_return(netmem_ref netmem, enum xdp_mem_type mem_type,