aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2022-12-07 13:36:42 +0100
committerJakub Kicinski <[email protected]>2022-12-08 18:46:31 -0800
commit40ef76de8a7fabb30dafebae4035d3e7eebb47a9 (patch)
tree0e0c1f4f9b5d6f7490bd27cf7cf1a6c3c6786923 /tools/perf/scripts/python
parent837e8ac871499d337212e2161c046f5adf1bad33 (diff)
mlxsw: spectrum_router: Use gen_pool for RIF index allocation
Currently, each router interface (RIF) consumes one entry in the RIFs table and there are no alignment constraints. This is going to change in subsequent patches where some RIFs will consume two table entries and their indexes will need to be aligned to the allocation size (even). Prepare for this change by converting the RIF index allocation to use gen_pool with the 'gen_pool_first_fit_order_align' algorithm. No Kconfig changes necessary as mlxsw already selects 'GENERIC_ALLOCATOR'. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions