/linux-6.6.21/include/net/ |
D | xdp.h | 125 xdp_prepare_buff(struct xdp_buff *xdp, unsigned char *hard_start, in xdp_prepare_buff() argument 128 unsigned char *data = hard_start + headroom; in xdp_prepare_buff() 130 xdp->data_hard_start = hard_start; in xdp_prepare_buff()
|
/linux-6.6.21/net/core/ |
D | xdp.c | 606 void *hard_start; in __xdp_build_skb_from_frame() local 621 hard_start = xdpf->data - headroom; in __xdp_build_skb_from_frame() 622 skb = build_skb_around(skb, hard_start, frame_size); in __xdp_build_skb_from_frame()
|
D | dev.c | 4859 void *orig_data, *orig_data_end, *hard_start; in bpf_prog_run_generic_xdp() local 4872 hard_start = skb->data - skb_headroom(skb); in bpf_prog_run_generic_xdp() 4875 frame_sz = (void *)skb_end_pointer(skb) - hard_start; in bpf_prog_run_generic_xdp() 4880 xdp_prepare_buff(xdp, hard_start, skb_headroom(skb) - mac_len, in bpf_prog_run_generic_xdp()
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.c | 721 void *hard_start; in __aq_ring_xdp_clean() local 783 hard_start = page_address(buff->rxdata.page) + in __aq_ring_xdp_clean() 794 xdp_prepare_buff(&xdp, hard_start, rx_ring->page_offset, in __aq_ring_xdp_clean()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_txrx.c | 1406 unsigned char *hard_start; in otx2_xdp_rcv_pkt_handler() local 1420 hard_start = (unsigned char *)phys_to_virt(pa); in otx2_xdp_rcv_pkt_handler() 1421 xdp_prepare_buff(&xdp, hard_start, OTX2_HEAD_ROOM, in otx2_xdp_rcv_pkt_handler()
|
/linux-6.6.21/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_main.c | 532 unsigned char *hard_start, *data; in nicvf_xdp_rx() local 552 hard_start = page_address(page); in nicvf_xdp_rx() 554 xdp_prepare_buff(&xdp, hard_start, data - hard_start, len, false); in nicvf_xdp_rx()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1220 void *hard_start; in ice_clean_rx_irq() local 1222 hard_start = page_address(rx_buf->page) + rx_buf->page_offset - in ice_clean_rx_irq() 1224 xdp_prepare_buff(xdp, hard_start, offset, size, !!offset); in ice_clean_rx_irq()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2568 unsigned char *hard_start; in i40e_clean_rx_irq() local 2570 hard_start = page_address(rx_buffer->page) + in i40e_clean_rx_irq() 2572 xdp_prepare_buff(xdp, hard_start, offset, size, true); in i40e_clean_rx_irq()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1160 unsigned char *hard_start; in ixgbevf_clean_rx_irq() local 1162 hard_start = page_address(rx_buffer->page) + in ixgbevf_clean_rx_irq() 1164 xdp_prepare_buff(&xdp, hard_start, offset, size, true); in ixgbevf_clean_rx_irq()
|
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1423 void *hard_start = page_address(rx_swbd->page) + rx_swbd->page_offset; in enetc_map_rx_buff_to_xdp() local 1428 xdp_prepare_buff(xdp_buff, hard_start - rx_ring->buffer_offset, in enetc_map_rx_buff_to_xdp()
|
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 2334 unsigned char *hard_start; in ixgbe_clean_rx_irq() local 2336 hard_start = page_address(rx_buffer->page) + in ixgbe_clean_rx_irq() 2338 xdp_prepare_buff(&xdp, hard_start, offset, size, true); in ixgbe_clean_rx_irq()
|
/linux-6.6.21/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8951 unsigned char *hard_start = pktbuf - igb_rx_offset(rx_ring); in igb_clean_rx_irq() local 8954 xdp_prepare_buff(&xdp, hard_start, offset, size, true); in igb_clean_rx_irq()
|