Searched refs:entries_before (Results 1 – 1 of 1) sorted by relevance
729 u16 ksm_entries, num_wqe, index, entries_before; in mlx5e_alloc_rx_hd_mpwqe() local744 entries_before = shampo->hd_per_wq - index; in mlx5e_alloc_rx_hd_mpwqe()746 if (unlikely(entries_before < ksm_entries)) in mlx5e_alloc_rx_hd_mpwqe()747 num_wqe = DIV_ROUND_UP(entries_before, max_ksm_entries) + in mlx5e_alloc_rx_hd_mpwqe()748 DIV_ROUND_UP(ksm_entries - entries_before, max_ksm_entries); in mlx5e_alloc_rx_hd_mpwqe()