Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.c399 tx_head->bytecount = xdp_get_buff_len(xdp); in __ice_xmit_xdp_ring()
H A Dice_xsk.c923 total_rx_bytes += xdp_get_buff_len(first); in ice_clean_rx_irq_zc()
H A Dice_txrx.c1204 total_rx_bytes += xdp_get_buff_len(xdp); in ice_clean_rx_irq()
/openbmc/linux/include/net/
H A Dxdp.h152 static __always_inline unsigned int xdp_get_buff_len(struct xdp_buff *xdp) in xdp_get_buff_len() function
/openbmc/linux/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()
/openbmc/linux/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.c2593 size = xdp_get_buff_len(xdp); in i40e_clean_rx_irq()
/openbmc/linux/net/xdp/
H A Dxsk.c339 u32 len = xdp_get_buff_len(xdp); in xsk_generic_rcv()
354 u32 len = xdp_get_buff_len(xdp); in xsk_rcv()
/openbmc/linux/include/uapi/linux/
H A Dbpf.h5860 FN(xdp_get_buff_len, 188, ##ctx) \
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h5860 FN(xdp_get_buff_len, 188, ##ctx) \
/openbmc/linux/net/core/
H A Dfilter.c3908 return xdp_get_buff_len(xdp); in BPF_CALL_1()
4018 if (unlikely(offset + len > xdp_get_buff_len(xdp))) in bpf_xdp_pointer()
4166 if (unlikely(offset > (int)xdp_get_buff_len(xdp) - ETH_HLEN)) in bpf_xdp_frags_shrink_tail()
5031 if (unlikely(!xdp || xdp_size > xdp_get_buff_len(xdp))) in BPF_CALL_5()
11871 bpf_dynptr_init(ptr__uninit, xdp, BPF_DYNPTR_TYPE_XDP, 0, xdp_get_buff_len(xdp)); in bpf_dynptr_from_xdp()
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c1585 rx_byte_cnt += xdp_get_buff_len(&xdp_buff); in enetc_clean_rx_ring_xdp()