Mellanox / nv_peer_memory

305 stars 61 forks source link

Can this be used without rdma? #37

Closed cliffburdick closed 3 years ago

cliffburdick commented 6 years ago

Can this library be used to pass GPU mapped memory to something like dpdk such that the nic would write directly to the GPU memory without RDMA? It seems like it should be as simple as giving dpdk a mempool on the GPU, but it's not clear if this library helps with that.

haggaie commented 6 years ago

I believe what you are suggesting should work: this module would enable registering GPU memory in libibverbs, regardless of whether the queue pair using that memory region is an Ethernet QP or an RDMA QP. However, I don't think this idea has been tested so far.

cliffburdick commented 3 years ago

For anyone reading this 3 years later, this is now possible using cuVNF:

https://developer.nvidia.com/aerial-sdk