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

bnxt_re/lib: Add support WR APIs #1539

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Conversation

selvintxavier
Copy link
Contributor

Add WR API send functions

Add the support for the following WR API send
functions
- wr_rdma_write
- wr_rdma_write_imm
- wr_send
- wr_send_imm
- wr_rdma_read
- wr_atomic_cmp_swp
- wr_atomic_fetch_add

This patch series adds the support for WR APIs.
These APIs allows efficient posting of work to a
send queue using function calls instead of the struct
based ibv_post_send() scheme.

This patch reorganizes the current create_qp verb code
to support create_qp_ex in subsequent patches. Use ibv_qp_init_attr_ex
structure and ibv_cmd_create_qp_ex.

Signed-off-by: Chandramohan Akula <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Re-org the PSN and MSN related functions used in post_send.

Signed-off-by: Chandramohan Akula <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Add the support for the following WR API send
functions
- wr_rdma_write
- wr_rdma_write_imm
- wr_send
- wr_send_imm
- wr_rdma_read
- wr_atomic_cmp_swp
- wr_atomic_fetch_add

Signed-off-by: Chandramohan Akula <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
@rleon rleon merged commit 7a256c7 into linux-rdma:master Jan 9, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants