diff options
author | Daisuke Matsuda <matsuda-daisuke@fujitsu.com> | 2024-12-20 19:09:35 +0900 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2025-02-21 13:07:43 -0400 |
commit | 2fae67ab63db7e8b35520f897935d694ad92f2fe (patch) | |
tree | cd37381f3c8acb0910f1845431f12e8bc8010665 /tools/perf/scripts/python/stackcollapse.py | |
parent | d03fb5c6599e31b90c6b5f65d43d6ccc6b49eb91 (diff) |
RDMA/rxe: Add support for Send/Recv/Write/Read with ODP
rxe_mr_copy() is used widely to copy data to/from a user MR. requester uses
it to load payloads of requesting packets; responder uses it to process
Send, Write, and Read operaetions; completer uses it to copy data from
response packets of Read and Atomic operations to a user MR.
Allow these operations to be used with ODP by adding a subordinate function
rxe_odp_mr_copy(). It is comprised of the following steps:
1. Check the driver page table(umem_odp->dma_list) to see if pages being
accessed are present with appropriate permission.
2. If necessary, trigger page fault to map the pages.
3. Convert their user space addresses to kernel logical addresses using
PFNs in the driver page table(umem_odp->pfn_list).
4. Execute data copy to/from the pages.
Link: https://patch.msgid.link/r/20241220100936.2193541-5-matsuda-daisuke@fujitsu.com
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions