mlxsw: Use Switch Flooding Table Register Version 2
authorAmit Cohen <amcohen@nvidia.com>
Wed, 1 Dec 2021 08:12:39 +0000 (10:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2021 14:52:34 +0000 (14:52 +0000)
commite86ad8ce5beda5dbd351957b22948fdb077f9f53
treee20a72592cff433c74c9858601966a2465a554a1
parentf8538aec88b46642553a9ba9efa0952f5958dbed
mlxsw: Use Switch Flooding Table Register Version 2

The SFTR-V2 register is used for flooding packet replication.
It is a new version of SFTR in order to support 1024 bits of local_port.

Add SFTR-V2 register and use it instead of SFTR.

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/reg.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c