]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_fid: Remove flood_index() from FID operation structure
authorAmit Cohen <amcohen@nvidia.com>
Mon, 4 Jul 2022 06:11:38 +0000 (09:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jul 2022 08:56:57 +0000 (09:56 +0100)
commit1a27cff30d8542d65ac09762c3fb7c4bb440503c
treede1e0a4d0043d3724b814052a27e9e478f4c6993
parentd668272583a8e3e2535aa59cdcfb1d211b5db865
mlxsw: spectrum_fid: Remove flood_index() from FID operation structure

The flood_index() function is not needed anymore, as in the unified
bridge model the flood index is calculated using 'mid_base' and
'fid_offset'.

Remove this function.

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