OSDN Git Service

net/mlx5e: E-Switch, Add support for tx_port_ts in switchdev mode
authorAya Levin <ayal@nvidia.com>
Thu, 20 Jan 2022 15:53:06 +0000 (17:53 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 17 Feb 2022 07:55:15 +0000 (23:55 -0800)
commitbfbdd77ac52fecc198b049bff9574e84519ed9a5
tree0a252ec372e02c3b79b2d6e42b1759c78cdeaef9
parent7c5f940d264e4c3d4f4fdbb4dc84b9eca6d3ea43
net/mlx5e: E-Switch, Add support for tx_port_ts in switchdev mode

When turning on tx_port_ts (private flag) a PTP-SQ is created. Consider
this queue when adding rules matching SQs to VPORTs. Otherwise the
traffic on this queue won't reach the wire.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c