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.c1140 u16 rx_headroom = rq->buff.headroom; in mlx5e_skb_from_cqe_linear() local
1147 data = va + rx_headroom; in mlx5e_skb_from_cqe_linear()
1148 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + cqe_bcnt); in mlx5e_skb_from_cqe_linear()
1155 mlx5e_fill_xdp_buff(rq, va, rx_headroom, cqe_bcnt, &xdp); in mlx5e_skb_from_cqe_linear()
1159 rx_headroom = xdp.data - xdp.data_hard_start; in mlx5e_skb_from_cqe_linear()
1160 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + cqe_bcnt); in mlx5e_skb_from_cqe_linear()
1161 skb = mlx5e_build_linear_skb(rq, va, frag_size, rx_headroom, cqe_bcnt); in mlx5e_skb_from_cqe_linear()
1453 u16 rx_headroom = rq->buff.headroom; in mlx5e_skb_from_cqe_mpwrq_linear() local
1467 data = va + rx_headroom; in mlx5e_skb_from_cqe_mpwrq_linear()
1468 frag_size = MLX5_SKB_FRAG_SZ(rx_headroom + cqe_bcnt32); in mlx5e_skb_from_cqe_mpwrq_linear()
[all …]
/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.h187 u16 rx_headroom; member
Ddpaa_eth.c1734 WARN_ON(fd_off != priv->rx_headroom); in contig_fd_to_skb()
1803 WARN_ON(fd_off != priv->rx_headroom); in sg_fd_to_skb()
3045 priv->rx_headroom = dpaa_get_headroom(priv->buf_layout, RX); in dpaa_eth_probe()
/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c66 rxq->rx_headroom); in qede_alloc_rx_buffer()
544 rxq->rx_headroom); in qede_reuse_page()
685 current_bd->page_offset + rxq->rx_headroom, in qede_fill_frag_skb()
846 pad = cqe->placement_offset + rxq->rx_headroom; in qede_tpa_start()
1224 bd->data, rxq->rx_headroom, cur_size); in qede_rx_build_jumbo()
1300 pad = fp_cqe->placement_offset + rxq->rx_headroom; in qede_rx_process_cqe()
Dqede.h352 u16 rx_headroom; member
Dqede_main.c1517 rxq->rx_headroom = edev->xdp_prog ? XDP_PACKET_HEADROOM : NET_SKB_PAD; in qede_alloc_mem_rxq()
1518 size = rxq->rx_headroom + in qede_alloc_mem_rxq()
Dqede_ethtool.c1586 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()
1009 priv->rx_headroom = XDP_PACKET_HEADROOM; in mlx4_en_calc_rx_buf()
1039 priv->rx_headroom = 0; in mlx4_en_calc_rx_buf()
Dmlx4_en.h599 u16 rx_headroom; member
/drivers/net/ethernet/amazon/ena/
Dena_netdev.h270 u16 rx_headroom; member
Dena_netdev.c461 rx_ring->rx_headroom = XDP_PACKET_HEADROOM; in ena_xdp_exchange_program_rx_in_range()
464 rx_ring->rx_headroom = 0; in ena_xdp_exchange_program_rx_in_range()
912 int headroom = rx_ring->rx_headroom; in ena_alloc_rx_page()
968 dma_unmap_page(rx_ring->dev, ena_buf->paddr - rx_ring->rx_headroom, in ena_free_rx_page()