net/mlx5: E-Switch, Set vhca id valid flag when creating indir fwd group
authorMaor Dickman <maord@nvidia.com>
Thu, 12 Aug 2021 11:30:39 +0000 (14:30 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:15:42 +0000 (15:15 -0700)
commitca6891f9b27db7764bba0798202b0a21d0dc909c
tree139b656561a3ec105d0dcfdd79794804f867c175
parent9a5f9cc794e17cf6ed2a5bb215d2e8b6832db444
net/mlx5: E-Switch, Set vhca id valid flag when creating indir fwd group

When indirect forward group is created, flow is added with vhca id but
without setting vhca id valid flag which violates the PRM.

Fix by setting the missing flag, vhca id valid.

Fixes: 34ca65352ddf ("net/mlx5: E-Switch, Indirect table infrastructure")
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/esw/indir_table.c