OSDN Git Service

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)
commitec60c4581bd952296c1f81115eabd0a570042458
tree4f24de8ce4d2e7045858ae75f5281ace33efad3a
parent21ecfcb83a8588f21184eaa57c795c0c5a0eab2b
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