diff options
| author | Yonatan Nachum <ynachum@amazon.com> | 2026-07-06 17:00:07 +0000 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-12 04:43:17 -0400 |
| commit | 97ba15272e8e039b767114f244e5f0a5103a6bdf (patch) | |
| tree | 1c528c413745f65ac882ca59aad63228b3a7630c /tools/perf/scripts/python/stackcollapse.py | |
| parent | a833ce42d05624f27ac9b32e939df9caa7b06af3 (diff) | |
RDMA/efa: Add initialization of AH cache rhashtable
New EFA devices don't support the creation of multiple address handles
to the same remote on the same PD.
To overcome this limitation, introduce an AH cache rhashtable which will
store the user refcounts of the same AH creation on the same PD and will
allow the driver to manage AH reuse. The hashtable key is the
combination of PD and GID. Add initialization and teardown logic for the
rhashtable.
Each entry holds a refcount to manage the entry lifetime in the
hashtable and a user count that indicates how many users are using the
address handle.
Reviewed-by: Firas Jahjah <firasj@amazon.com>
Reviewed-by: Michael Margolin <mrgolin@amazon.com>
Signed-off-by: Yonatan Nachum <ynachum@amazon.com>
Link: https://patch.msgid.link/20260706170008.1039417-2-ynachum@amazon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
