New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
erdma: Elastic RDMA Adatper (ERDMA) userspace provider driver #1126
Conversation
3d3a0bf
to
af99607
Compare
5c4399b
to
1fc20db
Compare
Hi, I just updated the PR, changes are:
Thanks, |
I just updated the PR, changes including:
The changes with patch format can be get at here. |
4d9920f
to
cdda3f8
Compare
Some more issues need to be fixed, so I pushed again. Changes are:
The changes with patch format can be get at here. |
5cf6f6c
to
d959e14
Compare
I reviewed changed files in mana_ib, and found that erdma missed the modification need of RDMA_STATIC_PREFIX, Also add necessary information in debian pkg build. The changes with patch format can be get at here. |
Add the userspace verbs implementation related header files: 'erdma_hw.h' for hardware interface definitions, 'erdma_verbs.h' for verbs related definitions and 'erdma_db.h' for doorbell records related definitions. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Implementation of the erdma's 'struct verbs_context_ops' interface. Due to doorbells may be drop by hardware in some situations, such as hardware hot-upgrade, driver will keep the latest doorbell value of each QP and CQ. So we introduce the doorbell records to store the latest doorbell values also. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Add the definitions of erdma provider driver, and add the application interface to core, so that core can recognize erdma provider. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Make the build system can build the provider, and add erdma to redhat package environment and debian pkg build environment. Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
I saw that Leon had synced the kernel header to master. To avoid potential conflicts (through the CI does not reported), I rebase the code to the latest master code. This push also includes a change: using |
Hello all,
This PR introduces the Elastic RDMA Adapter (ERDMA) userspace provider driver, and the patchset for review purpose was sent to the linux-rdma mail list already [1]. The kernel driver of ERDMA can refer this link [2].
The main feature of ERDMA userspace provider includes: supports RC QP, supports RDMA Write/Send/RDMA Read/Immediate opcode in post_send, supports post_recv, and supports CQs with polling mode and event mode. Now we does not support SRQ yet.
Besides, this PR has already issued the review suggestions, including:
Thanks,
Cheng Xu
[1] https://lore.kernel.org/all/20211224065522.29734-1-chengyou@linux.alibaba.com/
[2] https://lore.kernel.org/all/20211221024858.25938-1-chengyou@linux.alibaba.com/