]> 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)
commitb240869263541a59a0fd1b958bf320c78d9ce601
treede1e0a4d0043d3724b814052a27e9e478f4c6993
parente63650b9234768a08e72d0f9b96ea815ce3dc449
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