aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2018-07-08 23:51:17 +0300
committerDavid S. Miller <[email protected]>2018-07-09 16:24:16 -0700
commit4b6b18692aec205b98dd333938b714af9d7aefe1 (patch)
treef2d22dfb001c2f549c015ab5e44893a2a4d6a6b0 /tools/perf/scripts/python/bin
parentebcff74386e6fbfe1d5dc406b99db63481f9c2c7 (diff)
mlxsw: spectrum_kvdl: Pass entry type to alloc/free
Future Spectrum-2 KVD linear manager implementation needs to know type of the entry to alloc and free. So define the types in an enum and pass it down to alloc and free functions. Once the entry type is passed down, KVDL common part knows sizes of each entry types, so replace size function arg with entry count. Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions