Home
last modified time | relevance | path

Searched refs:xdp_get_buff_len (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_txrx_lib.c399 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring()
Dice_xsk.c925 total_rx_bytes += xdp_get_buff_len(first); in ice_clean_rx_irq_zc()
Dice_txrx.c1247 total_rx_bytes += xdp_get_buff_len(xdp); in ice_clean_rx_irq()
/Linux-v6.6/include/net/
Dxdp.h152 static __always_inline unsigned int xdp_get_buff_len(struct xdp_buff *xdp) in xdp_get_buff_len() function
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_ring.c448 rx_ring->stats.rx.bytes += xdp_get_buff_len(xdp); in aq_xdp_run_prog()
826 rx_ring->stats.rx.bytes += xdp_get_buff_len(&xdp); in __aq_ring_xdp_clean()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c359 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc()
Di40e_txrx.c2597 size = xdp_get_buff_len(xdp); in i40e_clean_rx_irq()
/Linux-v6.6/net/xdp/
Dxsk.c335 u32 len = xdp_get_buff_len(xdp); in xsk_generic_rcv()
350 u32 len = xdp_get_buff_len(xdp); in xsk_rcv()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h5835 FN(xdp_get_buff_len, 188, ##ctx) \
/Linux-v6.6/include/uapi/linux/
Dbpf.h5835 FN(xdp_get_buff_len, 188, ##ctx) \
/Linux-v6.6/net/core/
Dfilter.c3849 return xdp_get_buff_len(xdp); in BPF_CALL_1()
3959 if (unlikely(offset + len > xdp_get_buff_len(xdp))) in bpf_xdp_pointer()
4071 if (unlikely(offset > (int)xdp_get_buff_len(xdp) - ETH_HLEN)) in bpf_xdp_frags_shrink_tail()
4919 if (unlikely(!xdp || xdp_size > xdp_get_buff_len(xdp))) in BPF_CALL_5()
11751 bpf_dynptr_init(ptr__uninit, xdp, BPF_DYNPTR_TYPE_XDP, 0, xdp_get_buff_len(xdp)); in bpf_dynptr_from_xdp()
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/
Denetc.c1579 rx_byte_cnt += xdp_get_buff_len(&xdp_buff); in enetc_clean_rx_ring_xdp()