Home
last modified time | relevance | path

Searched refs:data_hard_start (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/include/net/
Dxdp.h72 void *data_hard_start; member
85 ((xdp)->data_hard_start + (xdp)->frame_sz - \
111 void *data_hard_start = frame->data - frame->headroom - sizeof(*frame); in xdp_get_shared_info_from_frame() local
113 return (struct skb_shared_info *)(data_hard_start + frame->frame_sz - in xdp_get_shared_info_from_frame()
139 xdp->data_hard_start = frame->data - frame->headroom - sizeof(*frame); in xdp_convert_frame_to_buff()
153 headroom = xdp->data - xdp->data_hard_start; in xdp_update_frame_from_buff()
184 xdp_frame = xdp->data_hard_start; in xdp_convert_buff_to_frame()
/kernel/linux/linux-5.10/drivers/net/hyperv/
Dnetvsc_bpf.c32 xdp->data_hard_start = NULL; in netvsc_run_xdp()
47 xdp->data_hard_start = page_address(page); in netvsc_run_xdp()
48 xdp->data = xdp->data_hard_start + NETVSC_XDP_HDRM; in netvsc_run_xdp()
77 xdp->data_hard_start = NULL; in netvsc_run_xdp()
Dnetvsc_drv.c823 void *xbuf = xdp->data_hard_start; in netvsc_alloc_recv_skb()
827 unsigned int hdroom = xdp->data - xdp->data_hard_start; in netvsc_alloc_recv_skb()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c136 xdp.data_hard_start = *data_ptr - offset; in bnxt_rx_xdp()
157 offset = xdp.data - xdp.data_hard_start; in bnxt_rx_xdp()
158 *data_ptr = xdp.data_hard_start + offset; in bnxt_rx_xdp()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_bpf2bpf.c27 void *data_hard_start; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c215 bi->xdp->data_end - bi->xdp->data_hard_start, in ixgbe_construct_skb_zc()
220 skb_reserve(skb, bi->xdp->data - bi->xdp->data_hard_start); in ixgbe_construct_skb_zc()
/kernel/linux/linux-5.10/net/xdp/
Dxsk_buff_pool.c481 xskb->xdp.data_hard_start = pool->addrs + addr + pool->headroom; in __xp_alloc()
507 xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM; in xp_alloc()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.c923 xdp->data_hard_start); in ice_build_skb()
934 skb = build_skb(xdp->data_hard_start, truesize); in ice_build_skb()
944 skb_reserve(skb, xdp->data - xdp->data_hard_start); in ice_build_skb()
1150 xdp.data_hard_start = NULL; in ice_clean_rx_irq()
1156 xdp.data_hard_start = xdp.data - ice_rx_offset(rx_ring); in ice_clean_rx_irq()
Dice_xsk.c502 rx_buf->xdp->data_hard_start; in ice_construct_skb_zc()
510 skb_reserve(skb, rx_buf->xdp->data - rx_buf->xdp->data_hard_start); in ice_construct_skb_zc()
/kernel/linux/linux-5.10/drivers/net/
Dtap.c1137 struct tun_xdp_hdr *hdr = xdp->data_hard_start; in tap_get_user_xdp()
1148 skb = build_skb(xdp->data_hard_start, buflen); in tap_get_user_xdp()
1154 skb_reserve(skb, xdp->data - xdp->data_hard_start); in tap_get_user_xdp()
Dveth.c711 xdp.data_hard_start = skb->head; in veth_xdp_rcv_skb()
718 xdp.frame_sz = (void *)skb_end_pointer(skb) - xdp.data_hard_start; in veth_xdp_rcv_skb()
Dtun.c1716 xdp.data_hard_start = buf; in tun_build_skb()
1740 pad = xdp.data - xdp.data_hard_start; in tun_build_skb()
2461 struct tun_xdp_hdr *hdr = xdp->data_hard_start; in tun_xdp_one()
2511 skb = build_skb(xdp->data_hard_start, buflen); in tun_xdp_one()
2517 skb_reserve(skb, xdp->data - xdp->data_hard_start); in tun_xdp_one()
Dvirtio_net.c755 xdp.data_hard_start = buf + VIRTNET_RX_PAD + vi->hdr_len; in receive_small()
756 xdp.data = xdp.data_hard_start + xdp_headroom; in receive_small()
932 xdp.data_hard_start = data - VIRTIO_XDP_HEADROOM + vi->hdr_len; in receive_mergeable()
Dxen-netfront.c980 xdp->data_hard_start = page_address(pdata); in xennet_run_xdp()
981 xdp->data = xdp->data_hard_start + XDP_PACKET_HEADROOM; in xennet_run_xdp()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Drx.c297 xdp.data_hard_start = xdp.data - EFX_XDP_HEADROOM; in efx_do_xdp()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2072 xdp->data_hard_start); in i40e_build_skb()
2084 skb = build_skb(xdp->data_hard_start, truesize); in i40e_build_skb()
2089 skb_reserve(skb, xdp->data - xdp->data_hard_start); in i40e_build_skb()
2196 prefetchw(xdp->data_hard_start); /* xdp_frame write */ in i40e_run_xdp()
2399 xdp.data_hard_start = xdp.data - in i40e_clean_rx_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1096 xdp.data_hard_start = page_address(bd->data); in qede_rx_xdp()
1097 xdp.data = xdp.data_hard_start + *data_offset; in qede_rx_xdp()
1112 *data_offset = xdp.data - xdp.data_hard_start; in qede_rx_xdp()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c2177 len = xdp->data_end - xdp->data_hard_start - pp->rx_offset_correction; in mvneta_run_xdp()
2182 sync = xdp->data_end - xdp->data_hard_start - pp->rx_offset_correction; in mvneta_run_xdp()
2258 xdp->data_hard_start = data; in mvneta_swbm_rx_frame()
2313 skb = build_skb(xdp->data_hard_start, PAGE_SIZE); in mvneta_swbm_build_skb()
2319 skb_reserve(skb, xdp->data - xdp->data_hard_start); in mvneta_swbm_build_skb()
2384 if (unlikely(!xdp_buf.data_hard_start)) { in mvneta_rx_swbm()
2428 xdp_buf.data_hard_start = NULL; in mvneta_rx_swbm()
2432 if (xdp_buf.data_hard_start) in mvneta_rx_swbm()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1127 xdp->data_hard_start = va; in mlx5e_fill_xdp_buff()
1159 rx_headroom = xdp.data - xdp.data_hard_start; in mlx5e_skb_from_cqe_linear()
1482 rx_headroom = xdp.data - xdp.data_hard_start; in mlx5e_skb_from_cqe_mpwrq_linear()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c780 xdp.data_hard_start = va - frags[0].page_offset; in mlx4_en_process_rx_cq()
791 xdp.data_hard_start; in mlx4_en_process_rx_cq()
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dnetsec.c897 sync = xdp->data_end - xdp->data_hard_start - NETSEC_RXBUF_HEADROOM; in netsec_run_xdp()
1009 xdp.data_hard_start = desc->addr; in netsec_process_rx()
1039 skb_reserve(skb, xdp.data - xdp.data_hard_start); in netsec_process_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c864 xdp->data_hard_start); in ixgbevf_construct_skb()
940 xdp->data_hard_start); in ixgbevf_build_skb()
952 skb = build_skb(xdp->data_hard_start, truesize); in ixgbevf_build_skb()
957 skb_reserve(skb, xdp->data - xdp->data_hard_start); in ixgbevf_build_skb()
1170 xdp.data_hard_start = xdp.data - in ixgbevf_clean_rx_irq()
/kernel/linux/linux-5.10/net/bpf/
Dtest_run.c652 xdp.data_hard_start = data; in bpf_prog_test_run_xdp()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw.c407 xdp.data_hard_start = pa; in cpsw_rx_handler()
418 headroom = xdp.data - xdp.data_hard_start; in cpsw_rx_handler()
Dcpsw_new.c350 xdp.data_hard_start = pa; in cpsw_rx_handler()
360 headroom = xdp.data - xdp.data_hard_start; in cpsw_rx_handler()

12