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: corrected flags argument type in ft_sendmsg/ft_recvmsg #10643

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

Conversation

nikhilnanal
Copy link
Contributor

fixed fabtests send and recv functions to use flags argument type as uint64_t instead of int as the underlying fi calls use uint64_t. removed declaration of unused function ft_writemsg from shared.h

…ions

fixed fabtests send and recv functions to use flags argument type as
uint64_t instead of int as the underlying fi calls use uint64_t.
removed declaration of unused function ft_writemsg from shared.h

Also fixed functions calling ft_sendmsg and ft_recvmsg touse uint64_t for flags

Signed-off-by: Nikhil Nanal <[email protected]>
Copy link
Contributor

@aingerson aingerson left a comment

Choose a reason for hiding this comment

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

Can you double check all places where these functions are called and make sure the correct type is passed in as well? For example here

@@ -425,7 +425,7 @@ static int rma_bw_rx_comp()
return ft_tx(ep, remote_fi_addr, FT_RMA_SYNC_MSG_BYTES, &tx_ctx);
}

static int set_fi_more_flag(int i, int j, int flags)
static int set_fi_more_flag(int i, int j, uint64_t flags)
Copy link
Contributor

Choose a reason for hiding this comment

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

the flags are returned here - should be uint64_t as well

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