Skip to content

Conversation

@Yue-ByteDance
Copy link
Contributor

Original message says that multiple QPs is only available for bw test, but even if user uses -q 1, it would still fail and print error, which doesn't match with the message. Change that message to a clearer expression.

@sshaulnv
Copy link
Contributor

sshaulnv commented Oct 5, 2025

@Yue-ByteDance i think it would be clearer to change the condition to if (user_param->tst != BW && user_param->num_of_qps > 1), instead of changing the warning message.

Original message says that multiple QPs is only available for bw test,
but even if user uses `-q 1`, it would still fail and print error, which
doesn't match with the message. Change the logic to check if user
specified more than 2 QPs for non-bw tests.

Signed-off-by: yuezelong <yuezelong@bytedance.com>
@Yue-ByteDance Yue-ByteDance changed the title Perftest: Provide clearer error message for specifying QP number in non bw test Perftest: Fix specifying QP number 1 in non bw test Oct 10, 2025
@Yue-ByteDance
Copy link
Contributor Author

@Yue-ByteDance i think it would be clearer to change the condition to if (user_param->tst != BW && user_param->num_of_qps > 1), instead of changing the warning message.

Hello, I've updated the commit according to your suggestion, thanks!

@sshaulnv sshaulnv merged commit a8b2d43 into linux-rdma:master Nov 17, 2025
@sshaulnv
Copy link
Contributor

Merged, thanks for your contribution!

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