linux-rdma/perftest

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

Opened this issue · 1 comments

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?

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?