summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-03-19 12:43:59 +0300
committerLeon Romanovsky <leonro@mellanox.com>2020-04-19 15:57:52 +0300
commita2a322f447b91a9b85d332b345a3b508d97506a9 (patch)
tree1962c171536c8b55cc44b96ae0c46fe31e614adb /tools/perf/scripts/python/export-to-postgresql.py
parent333fbaa0255b8d471fc7ae767ef3a1766c732d6d (diff)
downloadlinux-a2a322f447b91a9b85d332b345a3b508d97506a9.tar.xz
net/mlx5: Refactor HCA capability set flow
Reduce the amount of kzalloc/kfree cycles by allocating command structure in the parent function and leverage the knowledge that set_caps() is called for HCA capabilities only with specific HW structure as parameter to calculate mailbox size. Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions