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)
commit8928fd47782c77c81c9219dfce08e8c768f6c111
treede1e0a4d0043d3724b814052a27e9e478f4c6993
parent77b7f83d5c2594c5dbdd217aec03bd2265c0f11c
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