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

[v1.22.x] prov/efa: backport several recent changes #10396

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

These dlists are now migrated to srx context.

Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit a34b25c)
Currently, extra_info is a 256*8 bytes array in
efa_rdm_ep and efa_rdm_peer, this is way too much
as it can cover 256*64 bits of extra features/requests
that RDM endpoint is likely to have.
This patch reduces it to 4*8 bytes array that
can cover 256 bits which should be enough for the foreseeable
future.

Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit 4050272)
Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit 8f45c7a)
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]>
(cherry picked from commit a1f06ed)
user_info is just a duplication of fi_info passed
by fi_endpoint(), which is duplicated to base_ep.info
already.

Signed-off-by: Shi Jin <[email protected]>
(cherry picked from commit 93cd9ff)
@shijin-aws shijin-aws requested a review from a team September 18, 2024 17:31
@shijin-aws shijin-aws merged commit b583654 into ofiwg:v1.22.x Sep 19, 2024
9 checks passed
@shijin-aws shijin-aws deleted the backport_v1.22.x branch September 19, 2024 20:51
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