diff options
author | 2018-01-19 09:24:48 +0100 | |
---|---|---|
committer | 2018-01-21 18:21:30 -0500 | |
commit | c18c1e186ba872da73e944d9c54f027ea3899d39 (patch) | |
tree | bcf3bc571ae4c491f434b7bfe52c7e6c21fd4a4b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: core: Convert fwd_entry_ref list to be generic per-block resource list (diff) | |
download | linux-dev-c18c1e186ba872da73e944d9c54f027ea3899d39.tar.xz linux-dev-c18c1e186ba872da73e944d9c54f027ea3899d39.zip |
mlxsw: core: Make counter index allocated inside the action append
So far, the caller of mlxsw_afa_block_append_counter needed to allocate
counter index by hand. Benefit from the previously introduced resource
infra and counter_index_get/put callbacks, and allocate the counter
index in place where it is needed, inside the action append function.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions