Searched refs:rx_headroom (Results 1 – 11 of 11) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 1140 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/ |
D | dpaa_eth.h | 187 u16 rx_headroom; member
|
D | dpaa_eth.c | 1734 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/ |
D | qede_fp.c | 66 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()
|
D | qede.h | 352 u16 rx_headroom; member
|
D | qede_main.c | 1517 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()
|
D | qede_ethtool.c | 1586 rxq->rx_headroom); in qede_selftest_receive_traffic()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 70 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()
|
D | mlx4_en.h | 599 u16 rx_headroom; member
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.h | 270 u16 rx_headroom; member
|
D | ena_netdev.c | 461 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()
|