rdma-core icon indicating copy to clipboard operation
rdma-core copied to clipboard

efa: Enable creation of CQs with external memory

Open mrgolin opened this issue 8 months ago • 1 comments

Add an option to create CQs through EFA direct verbs with pre-allocated memory, by passing dmabuf fd and offset, and additionally expose SQ, RQ and CQ alignment and mappings. This together allows passing data path handling to accelerator threads.

mrgolin avatar May 15 '25 16:05 mrgolin

~~The related kernel patch is here.~~

mrgolin avatar May 15 '25 16:05 mrgolin

I've updated this PR by turning a significant part of the code to common and moving it into libibverbs.

The related kernel patches are here

mrgolin avatar Jul 01 '25 23:07 mrgolin

Hey @jgunthorpe, I updated the kernel headers commit now that the kernel changes are merged.

YonatanNachum avatar Jul 15 '25 07:07 YonatanNachum

@jgunthorpe @rleon please share your comments if there are any, I'd really like it to be merged before upcoming release.

mrgolin avatar Jul 23 '25 07:07 mrgolin

@jgunthorpe @rleon please share your comments if there are any, I'd really like it to be merged before upcoming release.

Don't worry, If needed, I'll delay release, which is planned to happen in almost 3 weeks from now.

rleon avatar Jul 23 '25 07:07 rleon

Looks ok to me, please rebase and I'll merge.

Thanks

rleon avatar Jul 24 '25 12:07 rleon

Hey @rleon, I rebased, thanks !

YonatanNachum avatar Jul 24 '25 12:07 YonatanNachum