Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c439 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring()
H A Dice_xsk.c896 total_rx_bytes += xdp_get_buff_len(first); in ice_clean_rx_irq_zc()
H A Dice_txrx.c1285 total_rx_bytes += xdp_get_buff_len(xdp); in ice_clean_rx_irq()
/linux-6.15/include/net/
H A Dxdp.h155 xdp_get_buff_len(const struct xdp_buff *xdp) in xdp_get_buff_len() function
/linux-6.15/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.c419 rx_ring->stats.rx.bytes += xdp_get_buff_len(xdp); in aq_xdp_run_prog()
800 rx_ring->stats.rx.bytes += xdp_get_buff_len(&xdp); in __aq_ring_xdp_clean()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c355 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc()
H A Di40e_txrx.c2542 size = xdp_get_buff_len(xdp); in i40e_clean_rx_irq()
/linux-6.15/net/xdp/
H A Dxsk.c338 u32 len = xdp_get_buff_len(xdp); in xsk_generic_rcv()
354 u32 len = xdp_get_buff_len(xdp); in xsk_rcv()
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h6006 FN(xdp_get_buff_len, 188, ##ctx) \
/linux-6.15/include/uapi/linux/
H A Dbpf.h6006 FN(xdp_get_buff_len, 188, ##ctx) \
/linux-6.15/net/core/
H A Dfilter.c3920 return xdp_get_buff_len(xdp); in BPF_CALL_1()
4030 if (unlikely(offset + len > xdp_get_buff_len(xdp))) in bpf_xdp_pointer()
4175 if (unlikely(offset > (int)xdp_get_buff_len(xdp) - ETH_HLEN)) in bpf_xdp_frags_shrink_tail()
5058 if (unlikely(!xdp || xdp_size > xdp_get_buff_len(xdp))) in BPF_CALL_5()
12015 bpf_dynptr_init(ptr, xdp, BPF_DYNPTR_TYPE_XDP, 0, xdp_get_buff_len(xdp)); in bpf_dynptr_from_xdp()
/linux-6.15/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1910 rx_byte_cnt += xdp_get_buff_len(&xdp_buff); in enetc_clean_rx_ring_xdp()