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

mckey: fix the ibv_sge start address for function ibv_post_send #1441

Closed
wants to merge 1 commit into from

Conversation

Honggang-LI
Copy link
Contributor

For UD QP, the struct ibv_grh at the head of registed MR used for ibv_post_send, the data to be sent is immediately after the struct ibv_grh in the MR. So, the ibv_sge start address should be the start address of MR add the sizeof(struct ibv_grh).

For UD QP, the struct `ibv_grh` at the head of registed MR used
for `ibv_post_send`, the data to be sent is immediately after
the struct `ibv_grh` in the MR. So, the ibv_sge start address
should be the start address of MR add the sizeof(struct ibv_grh).

Signed-off-by: Honggang LI <[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
1 participant