OSDN Git Service

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)
commit3bf1742f3c69501dec300b55917b9352428cb4dd
tree5f34daa2771fa89c9102a4c60287ee3288d5e1e8
parentdd1979cf3c710398a9eeba4853b908fe16426814
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: ec60c4581bd9 ("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