DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] add API to get GPU physical address
@ 2024-09-06  4:16 Ajit Khaparde
  2024-09-06  4:16 ` [PATCH 1/2] gpudev: " Ajit Khaparde
  2024-09-06  4:16 ` [PATCH 2/2] gpu/cuda: extend cuda code to get PA of GPU Ajit Khaparde
  0 siblings, 2 replies; 3+ messages in thread
From: Ajit Khaparde @ 2024-09-06  4:16 UTC (permalink / raw)
  To: dev; +Cc: thomas, eagostini

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(-)

-- 
2.39.3 (Apple Git-146)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-06  4:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06  4:16 [PATCH 0/2] add API to get GPU physical address Ajit Khaparde
2024-09-06  4:16 ` [PATCH 1/2] gpudev: " Ajit Khaparde
2024-09-06  4:16 ` [PATCH 2/2] gpu/cuda: extend cuda code to get PA of GPU Ajit Khaparde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).