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
efa: Elastic Fabric Adapter (EFA) userspace RDMA provider #475
Conversation
Please post it to ML too, it is new driver. Thanks |
I'll send it to the list as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you outline how much of the standard example 'tests' work with this driver? Does ud_pingpong work?
Thanks for the review Jason. |
Patches sent to the mailing list: |
d433e2f
to
b3a76fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use the examples in the comments for fls and roundup. |
My general guidance is to use ccan stuff when it makes sense.. In this case the badly named 'align queue size' functions seems to be some kind of 'round up power of 2' which is basically Right? So it seems like a reasonable choice to use it and provide a better named wrapper for this common case |
Will do |
Let me know if you want me to rebase or wait until the review is over. |
We are waiting for a refreshed version for both kernel and user space. Thanks |
Userspace is updated, kernel will be pushed later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also make sure to update the kernel-headers part with the final commit id
Updated the pull request, thanks. |
Added the check |
Add align and roundup_pow_of_two helper functions to util common code. Adapt mlx4 and mlx5 providers to use these functions, EFA will follow in downstream patch. ilog.[ch] and compiler.h were added to ccan in order to implement the functions. Signed-off-by: Gal Pressman <galpress@amazon.com>
To commit b79656ed44c6 ("RDMA/ipoib: Allow user space differentiate between valid dev_port"). Signed-off-by: Gal Pressman <galpress@amazon.com>
Introduce a provider that exposes EFA devices to user applications via the verbs interface. Signed-off-by: Gal Pressman <galpress@amazon.com>
In addition to verbs implementation, efa provider implements direct verb for QP creation which allows users to create Scalable Reliable Datagram (SRD) QPs. Signed-off-by: Gal Pressman <galpress@amazon.com>
Document EFA direct verbs feature. Signed-off-by: Gal Pressman <galpress@amazon.com>
Introduce a provider that exposes EFA devices to user applications via
the verbs interface.