summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-03-08 15:59:51 +0300
committerJakub Kicinski <kuba@kernel.org>2024-03-12 00:14:08 +0300
commit10bf92fd775ec2c6af1127c04e54e5b7ad0d35de (patch)
tree3e751dc803e9dca90ea3e63073d6aa7dac7cb2ca /tools/perf/scripts/python/export-to-sqlite.py
parent79fa52145e19803ed47bd5f2136c19c5e16f512d (diff)
downloadlinux-10bf92fd775ec2c6af1127c04e54e5b7ad0d35de.tar.xz
mlxsw: spectrum_router: Add helpers for nexthop counters
The next patch will add the ability to share nexthop counters among mlxsw nexthops backed by the same core nexthop. To have a place to store reference count, the counter should be kept in a dedicated structure. In this patch, introduce the structure together with the related helpers, sans the refcount, which comes in the next patch. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://lore.kernel.org/r/61f23fa4f8c5d7879f68dacd793d8ab7425f33c0.1709901020.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions