When users manually specifies use_srq in perftest command, the rx_depth will
be checked.
If rx_depth is less than the number of qps, the process will throw an error
and exit.
Url: https://github.com/linux-rdma/perftest/commit/lc358f240129f686ebd616a8b2a75f1561846c6c
Signed-off-by:Xinghai Cen <cenxinghai@partners.com>
(cherry picked from commit 662ad4a698723579fb79aaf6a341040bfbefeac1)
This commit replace current patches with the community version patches
to reduce the workload of maintaining perftest in the future.
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
(cherry picked from commit 1307cd4c49f07bb01481a1547183e5f4c5842e43)
(cherry picked from commit 63f2a3f278c09be49b9bd8b7ea3971c409101701)
Devices which are not in the device list does not support new io
(ibv_wr_xx).
Add patch to support the ibv_wr_xx() API test for hns roce.
These patches also set a correct max inline size for hns.
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
(cherry picked from commit df00d8ddda9f814d0cd33131729837dacbba21d6)