Searched refs:klm_entries (Results 1 – 2 of 2) sorted by relevance
533 u16 klm_entries, u16 index) in mlx5e_build_shampo_hd_umr() argument545 new_entries = klm_entries - (shampo->pi & (MLX5_UMR_KLM_ALIGNMENT - 1)); in mlx5e_build_shampo_hd_umr()546 entries = ALIGN(klm_entries, MLX5_UMR_KLM_ALIGNMENT); in mlx5e_build_shampo_hd_umr()554 if (i >= klm_entries || (index < shampo->pi && shampo->pi - index < in mlx5e_build_shampo_hd_umr()609 u16 klm_entries, num_wqe, index, entries_before; in mlx5e_alloc_rx_hd_mpwqe() local614 klm_entries = bitmap_find_window(shampo->bitmap, in mlx5e_alloc_rx_hd_mpwqe()617 if (!klm_entries) in mlx5e_alloc_rx_hd_mpwqe()620 klm_entries += (shampo->pi & (MLX5_UMR_KLM_ALIGNMENT - 1)); in mlx5e_alloc_rx_hd_mpwqe()624 if (unlikely(entries_before < klm_entries)) in mlx5e_alloc_rx_hd_mpwqe()626 DIV_ROUND_UP(klm_entries - entries_before, max_klm_entries); in mlx5e_alloc_rx_hd_mpwqe()[all …]
153 #define MLX5E_KLM_UMR_WQEBBS(klm_entries) \ argument154 (DIV_ROUND_UP(MLX5E_KLM_UMR_WQE_SZ(klm_entries), MLX5_SEND_WQE_BB))156 #define MLX5E_KLM_UMR_DS_CNT(klm_entries)\ argument157 (DIV_ROUND_UP(MLX5E_KLM_UMR_WQE_SZ(klm_entries), MLX5_SEND_WQE_DS))