/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_fdma.c | 23 db->dataptr = page_pool_get_dma_addr(page) + XDP_PACKET_HEADROOM; in lan966x_fdma_rx_alloc_page() 79 .offset = XDP_PACKET_HEADROOM, in lan966x_fdma_rx_alloc_page_pool() 477 (dma_addr_t)db->dataptr + XDP_PACKET_HEADROOM, in lan966x_fdma_rx_check_frame() 481 lan966x_ifh_get_src_port(page_address(page) + XDP_PACKET_HEADROOM, in lan966x_fdma_rx_check_frame() 512 skb_reserve(skb, XDP_PACKET_HEADROOM); in lan966x_fdma_rx_get_frame() 763 ifh = page_address(page) + XDP_PACKET_HEADROOM; in lan966x_fdma_xmit_xdpf() 770 dma_addr + XDP_PACKET_HEADROOM, in lan966x_fdma_xmit_xdpf() 780 dma_addr + XDP_PACKET_HEADROOM); in lan966x_fdma_xmit_xdpf() 959 XDP_PACKET_HEADROOM; in lan966x_fdma_get_max_frame()
|
D | lan966x_xdp.c | 85 IFH_LEN_BYTES + XDP_PACKET_HEADROOM, in lan966x_xdp_run()
|
/Linux-v6.6/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_xdp.h | 7 #define STMMAC_MAX_RX_BUF_SIZE(num) (((num) * PAGE_SIZE) - XDP_PACKET_HEADROOM)
|
D | stmmac.h | 375 return XDP_PACKET_HEADROOM; in stmmac_rx_offset()
|
/Linux-v6.6/drivers/net/vmxnet3/ |
D | vmxnet3_xdp.h | 18 #define VMXNET3_XDP_HEADROOM (XDP_PACKET_HEADROOM + NET_IP_ALIGN)
|
/Linux-v6.6/include/net/ |
D | xdp_sock_drv.h | 31 return XDP_PACKET_HEADROOM + pool->headroom; in xsk_pool_get_headroom() 152 xdp->data = xdp->data_hard_start + XDP_PACKET_HEADROOM; in xsk_buff_set_size()
|
D | xsk_buff_pool.h | 130 xskb->dma = xskb->frame_dma + pool->headroom + XDP_PACKET_HEADROOM; in xp_init_xskb_dma()
|
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ring.h | 16 #define AQ_XDP_HEADROOM ALIGN(max(NET_SKB_PAD, XDP_PACKET_HEADROOM), 8)
|
/Linux-v6.6/drivers/net/ethernet/microsoft/mana/ |
D | mana_bpf.c | 94 xdp_prepare_buff(xdp, buf_va, XDP_PACKET_HEADROOM, pkt_len, false); in mana_run_xdp()
|
/Linux-v6.6/net/xdp/ |
D | xdp_umem.c | 199 if (headroom >= chunk_size - XDP_PACKET_HEADROOM) in xdp_umem_reg()
|
D | xsk_buff_pool.c | 85 XDP_PACKET_HEADROOM; in xp_create_and_assign_umem() 539 xskb->xdp.data = xskb->xdp.data_hard_start + XDP_PACKET_HEADROOM; in xp_alloc()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_adjust_tail.c | 126 max_grow = 4096 - XDP_PACKET_HEADROOM - tailroom; /* 3520 */ in test_xdp_adjust_tail_grow2()
|
/Linux-v6.6/drivers/net/ |
D | xen-netfront.c | 976 xdp_init_buff(xdp, XEN_PAGE_SIZE - XDP_PACKET_HEADROOM, in xennet_run_xdp() 978 xdp_prepare_buff(xdp, page_address(pdata), XDP_PACKET_HEADROOM, in xennet_run_xdp() 1607 headroom = xdp ? XDP_PACKET_HEADROOM : 0; in talk_to_netback_xdp() 1620 unsigned long max_mtu = XEN_PAGE_SIZE - XDP_PACKET_HEADROOM; in xennet_xdp_set() 2168 .offset = XDP_PACKET_HEADROOM, in xennet_create_page_pool() 2169 .max_len = XEN_PAGE_SIZE - XDP_PACKET_HEADROOM, in xennet_create_page_pool()
|
/Linux-v6.6/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 120 VLAN_HLEN - XDP_PACKET_HEADROOM - \
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 148 frags->page_offset = XDP_PACKET_HEADROOM; in mlx4_en_prepare_rx_desc() 150 XDP_PACKET_HEADROOM); in mlx4_en_prepare_rx_desc() 1063 priv->rx_headroom = XDP_PACKET_HEADROOM; in mlx4_en_calc_rx_buf()
|
/Linux-v6.6/drivers/net/ethernet/freescale/ |
D | fec.h | 351 #define FEC_ENET_XDP_HEADROOM (XDP_PACKET_HEADROOM)
|
/Linux-v6.6/drivers/net/ethernet/freescale/enetc/ |
D | enetc.h | 49 (SKB_WITH_OVERHEAD(ENETC_RXB_TRUESIZE) - XDP_PACKET_HEADROOM)
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_priv.h | 420 #define CPSW_HEADROOM_NA (max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN)
|
/Linux-v6.6/include/net/mana/ |
D | mana.h | 302 #define MANA_XDP_MTU_MAX (PAGE_SIZE - MANA_RXBUF_PAD - XDP_PACKET_HEADROOM)
|
/Linux-v6.6/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_queues.c | 204 buf_len += XDP_PACKET_HEADROOM; in nicvf_alloc_rcv_buffer() 225 pgcache->dma_addr = *rbuf + XDP_PACKET_HEADROOM; in nicvf_alloc_rcv_buffer() 1654 len += XDP_PACKET_HEADROOM; in nicvf_unmap_rcv_buffer()
|
D | nicvf_main.c | 550 xdp_init_buff(&xdp, RCV_FRAG_LEN + XDP_PACKET_HEADROOM, in nicvf_xdp_rx() 576 RCV_FRAG_LEN + XDP_PACKET_HEADROOM, in nicvf_xdp_rx() 607 RCV_FRAG_LEN + XDP_PACKET_HEADROOM, in nicvf_xdp_rx()
|
/Linux-v6.6/drivers/net/ethernet/engleder/ |
D | tsnep_main.c | 34 #define TSNEP_RX_OFFSET (max(NET_SKB_PAD, XDP_PACKET_HEADROOM) + NET_IP_ALIGN) 1218 length = xdp->data_end - xdp->data_hard_start - XDP_PACKET_HEADROOM; in tsnep_xdp_run_prog() 1246 XDP_PACKET_HEADROOM; in tsnep_xdp_run_prog() 1436 XDP_PACKET_HEADROOM + TSNEP_RX_INLINE_METADATA_SIZE, in tsnep_rx_poll()
|
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 158 XDP_PACKET_HEADROOM - DPAA_HWA_SIZE) 2583 xdp_prepare_buff(&xdp, vaddr + fd_off - XDP_PACKET_HEADROOM, in dpaa_run_xdp() 2584 XDP_PACKET_HEADROOM, qm_fd_get_length(fd), true); in dpaa_run_xdp() 3271 headroom = XDP_PACKET_HEADROOM; in dpaa_get_headroom()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | xskxceiver.c | 826 expected_offset = (pkt_offset + headroom + XDP_PACKET_HEADROOM) % umem->frame_size; in is_offset_correct() 1388 u32 rx_frame_size = umem->frame_size - XDP_PACKET_HEADROOM; in xsk_populate_fill_ring() 1769 XDP_PACKET_HEADROOM - MIN_PKT_SIZE * 3; in testapp_stats_rx_dropped()
|
/Linux-v6.6/net/bpf/ |
D | test_run.c | 133 u32 headroom = XDP_PACKET_HEADROOM; in xdp_test_run_init_page() 1146 u32 headroom = XDP_PACKET_HEADROOM; in bpf_prog_test_run_xdp()
|