add API to get GPU physical address
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gpudev: add API to get GPU physical addresslib/ lib/ lib/ +1 more | +118 | 0 replies | |
| 2/2 | gpu/cuda: extend cuda code to get PA of GPUdrivers/ drivers/ drivers/ | +147 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] add API to get GPU physical address
Add API to get the physical address of the peer GPU. This should allow some NIC hardware to directly use the physical address for DMA instead of the CUDA Unified Memory provided by current mem_map calls.
A dependent code change has been pushed to the gdrcopy tree on github. The pull request is open here.
https://github.com/NVIDIA/gdrcopy/pull/304
Please review.
Thanks
Ajit Khaparde (2):
gpudev: add API to get GPU physical address
gpu/cuda: extend cuda code to get PA of GPU
drivers/gpu/cuda/common.h | 2 + drivers/gpu/cuda/cuda.c | 117 ++++++++++++++++++++++++++++++------- drivers/gpu/cuda/gdrcopy.c | 50 ++++++++++++++++ lib/gpudev/gpudev.c | 61 +++++++++++++++++++ lib/gpudev/gpudev_driver.h | 6 ++ lib/gpudev/rte_gpudev.h | 49 ++++++++++++++++ lib/gpudev/version.map | 2 + 7 files changed, 265 insertions(+), 22 deletions(-)
Signature · 1 line
2.39.3 (Apple Git-146)