Home
last modified time | relevance | path

Searched refs:MLX5_MPWRQ_PAGES_PER_WQE (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den.h93 #define MLX5_MPWRQ_PAGES_PER_WQE BIT(MLX5_MPWRQ_WQE_PAGE_ORDER) macro
103 #define MLX5E_REQUIRED_WQE_MTTS (MLX5_ALIGN_MTTS(MLX5_MPWRQ_PAGES_PER_WQE + 1))
150 ALIGN(MLX5_MPWRQ_PAGES_PER_WQE * sizeof(struct mlx5_mtt), \
557 struct mlx5e_dma_info dma_info[MLX5_MPWRQ_PAGES_PER_WQE];
563 DECLARE_BITMAP(xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE);
571 #define MLX5E_CACHE_UNIT (MLX5_MPWRQ_PAGES_PER_WQE > NAPI_POLL_WEIGHT ? \
572 MLX5_MPWRQ_PAGES_PER_WQE : NAPI_POLL_WEIGHT)
Den_rx.c471 if (bitmap_full(wi->xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE)) in mlx5e_free_rx_mpwqe()
475 MLX5_MPWRQ_PAGES_PER_WQE); in mlx5e_free_rx_mpwqe()
477 for (i = 0; i < MLX5_MPWRQ_PAGES_PER_WQE; i++) in mlx5e_free_rx_mpwqe()
513 unlikely(!xsk_buff_can_alloc(rq->xsk_pool, MLX5_MPWRQ_PAGES_PER_WQE))) { in mlx5e_alloc_rx_mpwqe()
522 for (i = 0; i < MLX5_MPWRQ_PAGES_PER_WQE; i++, dma_info++) { in mlx5e_alloc_rx_mpwqe()
529 bitmap_zero(wi->xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE); in mlx5e_alloc_rx_mpwqe()
Den_main.c217 cpu_to_be16(MLX5_MTT_OCTW(MLX5_MPWRQ_PAGES_PER_WQE)); in mlx5e_build_umr_wqe()
447 pool_size = MLX5_MPWRQ_PAGES_PER_WQE << in mlx5e_alloc_rq()