Home
last modified time | relevance | path

Searched refs:rx_headroom (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1528 u16 rx_headroom = rq->buff.headroom; in mlx5e_skb_from_cqe_linear() local
1537 data = va + rx_headroom; in mlx5e_skb_from_cqe_linear()
1538 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + cqe_bcnt); in mlx5e_skb_from_cqe_linear()
1550 mlx5e_fill_xdp_buff(rq, va, rx_headroom, cqe_bcnt, &xdp); in mlx5e_skb_from_cqe_linear()
1554 rx_headroom = xdp.data - xdp.data_hard_start; in mlx5e_skb_from_cqe_linear()
1558 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + cqe_bcnt); in mlx5e_skb_from_cqe_linear()
1559 skb = mlx5e_build_linear_skb(rq, va, frag_size, rx_headroom, cqe_bcnt, metasize); in mlx5e_skb_from_cqe_linear()
1576 u16 rx_headroom = rq->buff.headroom; in mlx5e_skb_from_cqe_nonlinear() local
1593 net_prefetch(va + rx_headroom); in mlx5e_skb_from_cqe_nonlinear()
1595 mlx5e_fill_xdp_buff(rq, va, rx_headroom, frag_consumed_bytes, &xdp); in mlx5e_skb_from_cqe_nonlinear()
[all …]
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.h173 u16 rx_headroom; member
Ddpaa_eth.c1843 WARN_ON(fd_off != priv->rx_headroom); in sg_fd_to_skb()
3016 int max_contig_data = priv->dpaa_bp->size - priv->rx_headroom; in xdp_validate_mtu()
3484 priv->rx_headroom = dpaa_get_headroom(priv->buf_layout, RX); in dpaa_eth_probe()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c67 rxq->rx_headroom); in qede_alloc_rx_buffer()
538 rxq->rx_headroom); in qede_reuse_page()
679 current_bd->page_offset + rxq->rx_headroom, in qede_fill_frag_skb()
840 pad = cqe->placement_offset + rxq->rx_headroom; in qede_tpa_start()
1209 rxq->rx_headroom, cur_size, PAGE_SIZE); in qede_rx_build_jumbo()
1282 pad = fp_cqe->placement_offset + rxq->rx_headroom; in qede_rx_process_cqe()
Dqede.h350 u16 rx_headroom; member
Dqede_main.c1583 rxq->rx_headroom = edev->xdp_prog ? XDP_PACKET_HEADROOM : NET_SKB_PAD; in qede_alloc_mem_rxq()
1584 size = rxq->rx_headroom + in qede_alloc_mem_rxq()
Dqede_ethtool.c1610 rxq->rx_headroom); in qede_selftest_receive_traffic()
/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c70 frag->page_offset = priv->rx_headroom; in mlx4_alloc_page()
500 } else if (!priv->rx_headroom) { in mlx4_en_complete_rx_desc()
1010 priv->rx_headroom = XDP_PACKET_HEADROOM; in mlx4_en_calc_rx_buf()
1040 priv->rx_headroom = 0; in mlx4_en_calc_rx_buf()
Dmlx4_en.h582 u16 rx_headroom; member
/drivers/net/ethernet/amazon/ena/
Dena_netdev.h254 u16 rx_headroom; member
Dena_netdev.c532 rx_ring->rx_headroom = XDP_PACKET_HEADROOM; in ena_xdp_exchange_program_rx_in_range()
535 rx_ring->rx_headroom = NET_SKB_PAD; in ena_xdp_exchange_program_rx_in_range()
727 rxr->rx_headroom = NET_SKB_PAD; in ena_init_io_rings()
1018 int headroom = rx_ring->rx_headroom; in ena_alloc_rx_buffer()
1054 dma_unmap_page(rx_ring->dev, ena_buf->paddr - rx_ring->rx_headroom, in ena_unmap_rx_buff()