diff options
author | 2022-09-27 13:36:02 -0700 | |
---|---|---|
committer | 2022-09-28 19:36:36 -0700 | |
commit | 527918e9cc4d0578dbea7c67594050c2056bd2e4 (patch) | |
tree | aca3ef4087bbf8c7332bbdc64e6bc7b2e19056ad /net/lapb/lapb_subr.c | |
parent | net/mlx5e: Let mlx5e_get_sw_max_sq_mpw_wqebbs accept mdev (diff) | |
download | linux-rng-527918e9cc4d0578dbea7c67594050c2056bd2e4.tar.xz linux-rng-527918e9cc4d0578dbea7c67594050c2056bd2e4.zip |
net/mlx5e: Use mlx5e_stop_room_for_max_wqe where appropriate
mlx5e_alloc_xdpsq calculates sq->stop_room internally, but there is
already a function for that: mlx5e_stop_room_for_max_wqe. This commit
makes use of this function.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions