]> 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)
commit022a33ff806ff64be8751a2b3947d106166b9336
tree4f24de8ce4d2e7045858ae75f5281ace33efad3a
parent3af17bb3fdb1f021cce146f881ee639a2df3b270
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