Home
last modified time | relevance | path

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

/linux-6.6.21/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.c1243 total_rx_bytes += xdp_get_buff_len(xdp); in ice_clean_rx_irq()
/linux-6.6.21/include/net/
Dxdp.h152 static __always_inline unsigned int xdp_get_buff_len(struct xdp_buff *xdp) in xdp_get_buff_len() function
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
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.6.21/drivers/net/ethernet/intel/i40e/
Di40e_xsk.c359 *rx_bytes = xdp_get_buff_len(xdp_buff); in i40e_handle_xdp_result_zc()
Di40e_txrx.c2594 size = xdp_get_buff_len(xdp); in i40e_clean_rx_irq()
/linux-6.6.21/net/xdp/
Dxsk.c339 u32 len = xdp_get_buff_len(xdp); in xsk_generic_rcv()
354 u32 len = xdp_get_buff_len(xdp); in xsk_rcv()
/linux-6.6.21/tools/include/uapi/linux/
Dbpf.h5843 FN(xdp_get_buff_len, 188, ##ctx) \
/linux-6.6.21/include/uapi/linux/
Dbpf.h5843 FN(xdp_get_buff_len, 188, ##ctx) \
/linux-6.6.21/net/core/
Dfilter.c3871 return xdp_get_buff_len(xdp); in BPF_CALL_1()
3981 if (unlikely(offset + len > xdp_get_buff_len(xdp))) in bpf_xdp_pointer()
4129 if (unlikely(offset > (int)xdp_get_buff_len(xdp) - ETH_HLEN)) in bpf_xdp_frags_shrink_tail()
4972 if (unlikely(!xdp || xdp_size > xdp_get_buff_len(xdp))) in BPF_CALL_5()
11820 bpf_dynptr_init(ptr__uninit, xdp, BPF_DYNPTR_TYPE_XDP, 0, xdp_get_buff_len(xdp)); in bpf_dynptr_from_xdp()
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc.c1579 rx_byte_cnt += xdp_get_buff_len(&xdp_buff); in enetc_clean_rx_ring_xdp()