]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Mutually exclude setting of TX-port-TS and MQPRIO in channel mode
authorAya Levin <ayal@nvidia.com>
Mon, 13 Sep 2021 13:49:47 +0000 (16:49 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 30 Sep 2021 21:07:57 +0000 (14:07 -0700)
commiteafc1de07a9ae8fb3e240f028e73de10ace01073
tree5f34daa2771fa89c9102a4c60287ee3288d5e1e8
parenta09e117b6b18dceb1a744dc0a61cfbf249644456
net/mlx5e: Mutually exclude setting of TX-port-TS and MQPRIO in channel mode

TX-port-TS hijacks the PTP traffic to a specific HW TX-queue. This
conflicts with MQPRIO in channel mode, which specifies explicitly which
TC accepts the packet. This patch mutually excludes the above
configuration.

Fixes: 022a33ff806f ("net/mlx5e: Support MQPRIO channel mode")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c