aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVlad Dogaru <vdogaru@nvidia.com>2025-04-10 22:17:33 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-14 17:29:15 -0700
commit38956bea7349ce75c1519b57c27cd97580b4c822 (patch)
treeacb3f804d17d4358861fabfe72f2e21156f08b40 /tools/perf/scripts/python/exported-sql-viewer.py
parentnet/mlx5: HWS, Remove unused element array (diff)
downloadwireguard-linux-38956bea7349ce75c1519b57c27cd97580b4c822.tar.xz
wireguard-linux-38956bea7349ce75c1519b57c27cd97580b4c822.zip
net/mlx5: HWS, Make pool single resource
The pool implementation claimed to support multiple resources, but this does not really make sense in context. Callers always allocate a single STC or STE chunk of exactly the size provided. The code that handled multiple resources was unused (and likely buggy) due to the combination of flags passed by callers. Simplify the pool by having it handle a single resource. As a result of this simplification, chunks no longer contain a resource offset (there is now only one resource per pool), and the get_base_id functions no longer take a chunk parameter. Signed-off-by: Vlad Dogaru <vdogaru@nvidia.com> Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Michal Kubiak <michal.kubiak@intel.com> Link: https://patch.msgid.link/1744312662-356571-4-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions