]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Support MQPRIO channel mode
authorTariq Toukan <tariqt@nvidia.com>
Wed, 11 Aug 2021 12:06:21 +0000 (15:06 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 16 Aug 2021 23:17:29 +0000 (16:17 -0700)
commit7924eb608351d893d48b802dfd3145ac79c8e29b
tree4f24de8ce4d2e7045858ae75f5281ace33efad3a
parent3e72f9ff6536f4f397a290fba85193fd562e74bd
net/mlx5e: Support MQPRIO channel mode

Add support for MQPRIO channel mode, in which a partition to TCs
is defined over the channels. We allow partitions with contiguous
queue indices, with no holes within. We do not allow modification
to the num of channels while this MQPRIO mode is active.

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.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c