]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Allow only complete TXQs partition in MQPRIO channel mode
authorTariq Toukan <tariqt@nvidia.com>
Mon, 4 Oct 2021 12:04:25 +0000 (15:04 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 12 Oct 2021 20:51:48 +0000 (13:51 -0700)
commitf7507c1b927b2ab4676f838076707e1e8cae0fef
tree65029c1fe0bf6b5b80e151d1f4b15068f352fda9
parentb428a587274341d8b649a79c2d71085c0dc1c848
net/mlx5e: Allow only complete TXQs partition in MQPRIO channel mode

Do not allow configurations of MQPRIO channel mode that do not
fully define and utilize the channels txqs.

Fixes: 7924eb608351 ("net/mlx5e: Support MQPRIO channel mode")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c