diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2026-09-15 17:09:22 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-28 08:13:08 -0400 |
| commit | b577999f6f8dbf954bb915a224a69c57c4476844 (patch) | |
| tree | 9f421ececa96d5b667e67dd55827ac59ce0a7c43 /tools/lib/python | |
| parent | 89abac4b60b708037595255ea2614b6967c86ee5 (diff) | |
RDMA/umem: Reuse ib_umem_get_cq_buf_or_va() for VA-only CQ pinning
Several drivers pin their CQ ring buffer via ib_umem_get_va() rather
than the CQ-specific helper. Switch them to ib_umem_get_cq_buf_or_va()
so the subsequent DMA_FROM_DEVICE change covers all CQ paths at once.
For shared helpers used by both CQ and non-CQ callers (qedr, mana,
erdma, hns) a new is_cq parameter selects the appropriate pinning
function; non-CQ callers pass false.
vmw_pvrdma's CQ is excluded: it embeds a ring-state header that the
driver CPU-writes after polling, making it genuinely bidirectional.
This is a pure refactor with no functional change.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://patch.msgid.link/20260915140933.40580-5-yishaih@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
