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

Commits on Sep 17, 2024

  1. prov/efa/test: Use correct qp num in the mock

    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 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    8bc3c1c View commit details
    Browse the repository at this point in the history