mlxsw: spectrum_fid: Configure VNI to FID classification
authorAmit Cohen <amcohen@nvidia.com>
Mon, 4 Jul 2022 06:11:28 +0000 (09:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2022 08:56:57 +0000 (09:56 +0100)
commit8cfc7f7707c1812d879e942ddc45b25bf088c0b4
tree12862aad812b53d7aee3cf64eb62e85065424c4c
parent53d7ae53d8071fa1270c208a730d6cf205a50533
mlxsw: spectrum_fid: Configure VNI to FID classification

In the new model, SFMR no longer configures both VNI->FID and FID->VNI
classifications, but only the later. The former needs to be configured via
SVFA.

Add SVFA configuration as part of vni_set() and vni_clear().

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c