]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported
authorMaor Dickman <maord@nvidia.com>
Tue, 22 Jun 2021 14:07:02 +0000 (17:07 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 27 Jul 2021 23:10:02 +0000 (16:10 -0700)
commitf8bca8ba02184995b8b5f494168a663252453575
tree56d9865ef9d54ea0d1af4e63fbe399e8f674f013
parent3da1bc50a8126c1e7f4710a2d5668ba27af8ea2d
net/mlx5: E-Switch, Set destination vport vhca id only when merged eswitch is supported

Destination vport vhca id is valid flag is set only merged eswitch isn't supported.
Change destination vport vhca id value to be set also only when merged eswitch
is supported.

Fixes: 8b5b3d55e1e9 ("net/mlx5e: Split offloaded eswitch TC rules for port mirroring")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c