Skip to content
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: Add unsolicited RDMA write with immediate receive support #1459

Merged
merged 3 commits into from May 12, 2024

Conversation

mrgolin
Copy link
Contributor

@mrgolin mrgolin commented May 6, 2024

This PR extends the EFA direct verbs to enable creation of QPs which RQs do not require explicit receive work requests to anticipate incoming RDMA write with immediate. A new work completion query function allows checking whether a work completion is unsolicited.

Related kernel patch: https://lore.kernel.org/all/[email protected]/

@@ -85,11 +85,17 @@ enum {
EFA_QP_DRIVER_TYPE_SRD = 0,
};

enum {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use real SHA and not ?? when creating this patch.
The kernel headers are pushed to wip/leon-for-next

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, updated the commit.

To commit: 2b8af5001abd ("RDMA/efa: Support QP with unsolicited write w/
imm. receive").

Signed-off-by: Michael Margolin <[email protected]>
Add EFA direct verbs support for creating QPs that do not require
explicit receive WRs to accept RDMA write with immediate. Correctly
handle completions that didn't consume a WR.
Add a related capability bit and update documentation accordingly.

Reviewed-by: Daniel Kinsbursky <[email protected]>
Reviewed-by: Daniel Kranzdorf <[email protected]>
Signed-off-by: Michael Margolin <[email protected]>
Expose EFA direct verbs needed to enable unsolicited RDMA write with
immediate receive and to pool for related completions.

Reviewed-by: Daniel Kinsbursky <[email protected]>
Reviewed-by: Daniel Kranzdorf <[email protected]>
Signed-off-by: Michael Margolin <[email protected]>
@rleon rleon merged commit e533dec into linux-rdma:master May 12, 2024
14 checks passed
shijin-aws added a commit to shijin-aws/libfabric that referenced this pull request May 13, 2024
This patch onboards Libfabric with the rdma-core feature that
supports unsolicited RDMA write with immediate receive

linux-rdma/rdma-core#1459

. When a rdma-write with imm is unsolicited, libfabric
won't release the rx pkt and bump the rx pkt counters.

Signed-off-by: Shi Jin <[email protected]>
shijin-aws added a commit to shijin-aws/libfabric that referenced this pull request May 13, 2024
This patch onboards Libfabric with the rdma-core feature that
supports unsolicited RDMA write with immediate receive

linux-rdma/rdma-core#1459

. When a rdma-write with imm is unsolicited, libfabric
won't release the rx pkt and bump the rx pkt counters.

Signed-off-by: Shi Jin <[email protected]>
shijin-aws added a commit to shijin-aws/libfabric that referenced this pull request May 13, 2024
This patch onboards Libfabric with the rdma-core feature that
supports unsolicited RDMA write with immediate receive

linux-rdma/rdma-core#1459

. When a rdma-write with imm is unsolicited, libfabric
won't release the rx pkt and bump the rx pkt counters.

Signed-off-by: Shi Jin <[email protected]>
shijin-aws added a commit to shijin-aws/libfabric that referenced this pull request May 17, 2024
This patch onboards Libfabric with the rdma-core feature that
supports unsolicited RDMA write with immediate receive

linux-rdma/rdma-core#1459

. When a rdma-write with imm is unsolicited, libfabric
won't release the rx pkt and bump the rx pkt counters.

Signed-off-by: Shi Jin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants