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

prov/efa/test: Use correct qp num in the mock #10390

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

shijin-aws
Copy link
Contributor

Currently, the test uses hard-coded 0 as the return value of efa_mock_ibv_read_qp_num_return_mock, which is wrong as the qpn can be non-zero when there are other qp that share the device. This patch fixes this issue by using the correct qp num associated with the ep.

Currently, the test uses hard-coded 0 as the return
value of efa_mock_ibv_read_qp_num_return_mock, which is
wrong as the qpn can be non-zero when there are other qp
that share the device. This patch fixes this issue by
using the correct qp num associated with the ep.

Signed-off-by: Shi Jin <[email protected]>
@shijin-aws shijin-aws requested a review from a team September 17, 2024 21:58
@shijin-aws shijin-aws merged commit a1f06ed into ofiwg:main Sep 18, 2024
12 of 13 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.

2 participants