Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c655 return (header_index & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)) << in mlx5e_shampo_hd_offset()
677 WARN_ON_ONCE(ksm_entries & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)); in mlx5e_build_shampo_hd_umr()
689 for (int j = 0; j < MLX5E_SHAMPO_WQ_HEADER_PER_PAGE; j++) { in mlx5e_build_shampo_hd_umr()
734 MLX5E_SHAMPO_WQ_HEADER_PER_PAGE); in mlx5e_alloc_rx_hd_mpwqe()
738 ksm_entries = ALIGN_DOWN(ksm_entries, MLX5E_SHAMPO_WQ_HEADER_PER_PAGE); in mlx5e_alloc_rx_hd_mpwqe()
855 if (((header_index + 1) & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)) == 0) { in mlx5e_free_rx_shampo_hd_entry()
H A Den.h85 #define MLX5E_SHAMPO_WQ_HEADER_PER_PAGE (PAGE_SIZE >> MLX5E_SHAMPO_LOG_MAX_HEADER_ENTRY_SIZE) macro
H A Den_main.c790 rq->mpwqe.shampo->hd_per_wq / MLX5E_SHAMPO_WQ_HEADER_PER_PAGE; in mlx5_rq_shampo_alloc()