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

fabtests: Do not require FI_TAGGED for fi_av_xfer test #10828

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

sunkuamzn
Copy link
Contributor

This test does not require tagged messaging

This test does not require tagged messaging

Signed-off-by: Sai Sunku <sunkusa@amazon.com>
@@ -233,8 +233,7 @@ int main(int argc, char **argv)
if (optind < argc)
opts.dst_addr = argv[optind];

hints->caps = hints->ep_attr->type == FI_EP_RDM ?
FI_TAGGED : FI_MSG;
hints->caps = FI_MSG;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But why? The test itself isn't testing messaging or tagged messaging. I don't know why FI_TAGGED was requested in the first place.

Copy link
Contributor

@shijin-aws shijin-aws Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why it was requesting FI_TAGGED when the test was added, especially for RDM ep type.... I'd like to know if there is any risks to make this test silently move from TAGGED to MSG, if there was a special motivation @shefty

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine to choose one method and not make it a command line argument. My best guess on why it was set to tagged in the first place is because if you're using FI_EP_RDM then you're mostly likely using tag matching so it matches the applications more. I don't have any issues with switching it but I'm curious why you want to change it? Is there something that switching it would allow you to test that isn't possible right now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we have a code path that doesn't support TAGGED but support MSG.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha, then yeah I think it's fine to switch to FI_MSG. @j-xiong is that ok with you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks all

@shijin-aws shijin-aws merged commit 29c24cb into ofiwg:main Feb 27, 2025
13 checks passed
@sunkuamzn sunkuamzn deleted the fabtests-av-xfer-tagged branch February 28, 2025 16:10
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.

4 participants