Home
last modified time | relevance | path

Searched refs:xdp_info (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxsk_xdp_progs.c35 struct xdp_info *meta; in xsk_xdp_populate_metadata()
39 err = bpf_xdp_adjust_meta(xdp, -(int)sizeof(struct xdp_info)); in xsk_xdp_populate_metadata()
46 if (data_meta + sizeof(struct xdp_info) > data) in xsk_xdp_populate_metadata()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxsk_xdp_metadata.h3 struct xdp_info { struct
H A Dxskxceiver.c838 struct xdp_info *meta = data - sizeof(struct xdp_info); in is_metadata_correct()
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_fp.c402 struct sw_tx_xdp *xdp_info, *xdp_arr = txq->sw_tx_ring.xdp; in qede_xdp_tx_int() local
411 xdp_info = xdp_arr + txq->sw_tx_cons; in qede_xdp_tx_int()
412 xdpf = xdp_info->xdpf; in qede_xdp_tx_int()
415 dma_unmap_single(dev, xdp_info->mapping, xdpf->len, in qede_xdp_tx_int()
419 xdp_info->xdpf = NULL; in qede_xdp_tx_int()
421 dma_unmap_page(dev, xdp_info->mapping, PAGE_SIZE, in qede_xdp_tx_int()
423 __free_page(xdp_info->page); in qede_xdp_tx_int()