net/mlx5e: E-Switch, Pass other_vport flag if vport is not 0
authorRoi Dayan <roid@nvidia.com>
Sun, 28 May 2023 14:10:43 +0000 (17:10 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 23 Jun 2023 19:27:34 +0000 (12:27 -0700)
commit4575ab3b7de04813400acf989ca7f26dd7e29c59
treee68b8a31b06bd1b092423b7d32428ffd272a5431
parent70c36438393546be0bbfd001d043a08e8ff611e9
net/mlx5e: E-Switch, Pass other_vport flag if vport is not 0

When creating flow table for shared fdb resources, there is
only need to pass other_vport flag if vport is not 0 or
if the port is ECPF in BlueField.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c