diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-09-27 23:36:01 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-29 05:36:35 +0300 |
commit | ed5c92ff0f3e2e1a9b9b7bf1d14f96bf9ceebfb3 (patch) | |
tree | c5dedf739cad9f5ea73b6a2fde0c197dc891defb /drivers/cpufreq/powernow-k6.c | |
parent | 44f4fd03b51705ce8af54c103c9af55926c5d950 (diff) | |
download | linux-ed5c92ff0f3e2e1a9b9b7bf1d14f96bf9ceebfb3.tar.xz |
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 'drivers/cpufreq/powernow-k6.c')
0 files changed, 0 insertions, 0 deletions