Skip to content

verbs: Query QP data in order on non x86 platforms #1606

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkkranz
Copy link
Contributor

@dkkranz dkkranz commented May 4, 2025

EFA can support 128 bytes blocks write in-order for some Grace platforms. Move the check on x86 architecture to the mlx5 provider implementation.

Reviewed-by: Michael Margolin mrgolin@amazon.com
Reviewed-by: Yonatan Nachum ynachum@amazon.com

@dkkranz dkkranz force-pushed the query_data_in_order_fix branch from 70679e1 to b4b0368 Compare May 5, 2025 07:46
@jgunthorpe
Copy link
Member

I don't think this is right, it would break things like PPC. The platform check is supposed to be in the common code, and the driver check is only about how the device works on PCI.

You should probably just add ARM to the inclusion list, though I imagine there are some wonky ARMs that don't work, they may not matter in practice.

@dkkranz dkkranz force-pushed the query_data_in_order_fix branch from b4b0368 to 3e995d5 Compare May 7, 2025 11:52
EFA can support 128 bytes blocks write in-order for some Grace
platforms, so allow querying data in-order for ARM platforms in general.

Reviewed-by: Michael Margolin <mrgolin@amazon.com>
Reviewed-by: Yonatan Nachum <ynachum@amazon.com>
Signed-off-by: Daniel Kranzdorf <dkkranzd@amazon.com>
@dkkranz dkkranz force-pushed the query_data_in_order_fix branch from 3e995d5 to fc236b7 Compare May 7, 2025 11:56
@dkkranz
Copy link
Contributor Author

dkkranz commented May 7, 2025

Applied your suggestion, thanks

@dkkranz
Copy link
Contributor Author

dkkranz commented May 20, 2025

@jgunthorpe Kind reminder

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants