net/mlx5: TC, allow offload from uplink to other PF's VF
authorEli Cohen <elic@nvidia.com>
Wed, 8 Jun 2022 14:34:16 +0000 (17:34 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 6 Jul 2022 23:11:54 +0000 (16:11 -0700)
commitd6c13d74b5c06bef75febf1f351de3c4c255f149
tree021e4ef88dea0324e6c2fdcc30e1a6aca5e600f2
parenta069a90554168ac4cc81af65f000557d2a8a0745
net/mlx5: TC, allow offload from uplink to other PF's VF

Redirecting traffic from uplink to a VF is a legal operation of
mulitport eswitch mode. Remove the limitation.

Fixes: 94db33177819 ("net/mlx5: Support multiport eswitch mode")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c