summaryrefslogtreecommitdiff
path: root/lib/string.c
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-09-27 13:36:01 -0700
committerJakub Kicinski <kuba@kernel.org>2022-09-28 19:36:35 -0700
commited5c92ff0f3e2e1a9b9b7bf1d14f96bf9ceebfb3 (patch)
treec5dedf739cad9f5ea73b6a2fde0c197dc891defb /lib/string.c
parent44f4fd03b51705ce8af54c103c9af55926c5d950 (diff)
net/mlx5e: Let mlx5e_get_sw_max_sq_mpw_wqebbs accept mdev
To shorten and simplify code, let mlx5e_get_sw_max_sq_mpw_wqebbs accept mdev and derive max SQ WQEBBs from it. Also rename the function to a more generic name mlx5e_get_max_sq_aligned_wqebbs, because the following patches will use it in non-MPWQE contexts. 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 'lib/string.c')
0 files changed, 0 insertions, 0 deletions