Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/
Dxdp.h125 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/
Dxdp.c606 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()
Ddev.c4859 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/
Daq_ring.c721 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/
Dotx2_txrx.c1406 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/
Dnicvf_main.c532 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/
Dice_txrx.c1220 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/
Di40e_txrx.c2568 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/
Dixgbevf_main.c1160 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/
Denetc.c1423 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/
Dixgbe_main.c2334 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/
Digb_main.c8951 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()