Searched refs:max_ksm_entries (Results 1 – 1 of 1) sorted by relevance
732 int i, err, max_ksm_entries, len; in mlx5e_alloc_rx_hd_mpwqe() local734 max_ksm_entries = MLX5E_MAX_KSM_PER_WQE(rq->mdev); 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()750 num_wqe = DIV_ROUND_UP(ksm_entries, max_ksm_entries); in mlx5e_alloc_rx_hd_mpwqe()753 len = (ksm_entries > max_ksm_entries) ? max_ksm_entries : in mlx5e_alloc_rx_hd_mpwqe()