efa: Enable creation of CQs with external memory
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.
~~The related kernel patch is here.~~
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
Hey @jgunthorpe, I updated the kernel headers commit now that the kernel changes are merged.
@jgunthorpe @rleon please share your comments if there are any, I'd really like it to be merged before upcoming release.
@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.
Looks ok to me, please rebase and I'll merge.
Thanks
Hey @rleon, I rebased, thanks !