Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx5: Remove max_post assignment in create_qp()
In create_qp(), RQ max_post value was redundantly overwritten after being calculated already as part of mlx5_calc_rq_size(). This assumption that max_post is equal to wqe_cnt is not necessarily true in all cases, as will be changed in upcoming patches where the OOO RX support feature is introduced. The line was removed, and the calculation is now handled by mlx5_calc_rq_size() without overwriting its calculation. Signed-off-by: Edward Srouji <edwards@nvidia.com> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
- Loading branch information