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

Query: How to use static QP number in test ib_write_bw? #281

Open
manomugdha opened this issue Aug 28, 2024 · 1 comment
Open

Query: How to use static QP number in test ib_write_bw? #281

manomugdha opened this issue Aug 28, 2024 · 1 comment

Comments

@manomugdha
Copy link

Hi,
Instead of dynamic QPN, I want to use static QPN when running this test. It seems there is way to do it but not working.
I tried to use following flags in perftest to set a QPN.

attr_ex.create_flags |= IBV_QP_CREATE_SOURCE_QPN;
attr_ex.source_qpn = 100;


qp = ibv_create_qp_ex(ctx->context, &attr_ex);

Any idea how to control the creation of QPN from perftest?

@sshaulnv
Copy link
Contributor

sshaulnv commented Nov 14, 2024

Hi @manomugdha,
according to ibv_create_qp_ex man page:

The attribute source_qpn is supported only on UD QP, without flow steering RX should not be possible.

did you tried with UD qp?

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

No branches or pull requests

2 participants