summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-12-07 13:36:42 +0100
committerJakub Kicinski <kuba@kernel.org>2022-12-08 18:46:31 -0800
commit40ef76de8a7fabb30dafebae4035d3e7eebb47a9 (patch)
tree0e0c1f4f9b5d6f7490bd27cf7cf1a6c3c6786923 /tools/perf/scripts/python/syscall-counts.py
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 <idosch@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions