diff options
author | Petr Machata <[email protected]> | 2023-11-28 16:50:36 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-11-29 20:03:23 -0800 |
commit | 82ff7a196d76a04cf437ac0469ac9e9b84110b13 (patch) | |
tree | 7669ee5d3f9e00a396d490df20ca8e453b2da059 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ab68bd743af8d4e9efd21c570acb7bee65bb47ce (diff) |
mlxsw: spectrum_fid: Split a helper out of mlxsw_sp_fid_flood_table_mid()
In future patches, for CFF flood mode support, we will need a way to
determine a PGT base dynamically, as an op. Therefore, for symmetry,
split out a helper, mlxsw_sp_fid_pgt_base_ctl(), that determines a PGT base
in the controlled mode as well.
Now that the helper is available, use it in mlxsw_sp_fid_flood_table_init()
which currently invokes the FID->MID helper to that end.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/fd41c66a1df4df6499d3da34f40e7b9efa15bc3e.1701183892.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions