]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit49c6fee85e373121f2ef47933a42a3e5c3c83c89
tree12862aad812b53d7aee3cf64eb62e85065424c4c
parentd50890cdf358048554236183b96aa2289ed99008
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