Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h92 #define MLX5_MPWRQ_PAGES_PER_WQE BIT(MLX5_MPWRQ_WQE_PAGE_ORDER) macro
95 #define MLX5E_REQUIRED_WQE_MTTS (ALIGN(MLX5_MPWRQ_PAGES_PER_WQE, 8))
146 ALIGN(MLX5_MPWRQ_PAGES_PER_WQE * sizeof(struct mlx5_mtt), \
576 struct mlx5e_dma_info dma_info[MLX5_MPWRQ_PAGES_PER_WQE];
582 DECLARE_BITMAP(xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE);
590 #define MLX5E_CACHE_UNIT (MLX5_MPWRQ_PAGES_PER_WQE > NAPI_POLL_WEIGHT ? \
591 MLX5_MPWRQ_PAGES_PER_WQE : NAPI_POLL_WEIGHT)
Den_rx.c442 if (bitmap_full(wi->xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE)) in mlx5e_free_rx_mpwqe()
446 MLX5_MPWRQ_PAGES_PER_WQE); in mlx5e_free_rx_mpwqe()
448 for (i = 0; i < MLX5_MPWRQ_PAGES_PER_WQE; i++) in mlx5e_free_rx_mpwqe()
497 unlikely(!mlx5e_xsk_pages_enough_umem(rq, MLX5_MPWRQ_PAGES_PER_WQE))) { in mlx5e_alloc_rx_mpwqe()
512 for (i = 0; i < MLX5_MPWRQ_PAGES_PER_WQE; i++, dma_info++) { in mlx5e_alloc_rx_mpwqe()
519 bitmap_zero(wi->xdp_xmit_bitmap, MLX5_MPWRQ_PAGES_PER_WQE); in mlx5e_alloc_rx_mpwqe()
Den_main.c247 cpu_to_be16(MLX5_MTT_OCTW(MLX5_MPWRQ_PAGES_PER_WQE)); in mlx5e_build_umr_wqe()
445 pool_size = MLX5_MPWRQ_PAGES_PER_WQE << in mlx5e_alloc_rq()