20 Commits

Author SHA1 Message Date
Funda Wang
d26fc13e9e drop useless guile build dependency
(cherry picked from commit f67028b62159fd4cff5d9a488b4cb177050e6777)
2025-03-12 09:27:47 +08:00
Guofeng Yue
21e04c5ddf Perftest: modify --source_ip to --bind_source_ip to fix init connection establishment with specific interface
mainline inclusion
commit ba4580a6c4f16ab7791e4d809eda91d586c1f04f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/perftest/issues/IBGXBU

Reference: 8ff29c1603

----------------------------

When there are several network interface with different subnet address,
perftest tools will always choose default route even I add --source_ip
option to ask perftest to bind an interface.
I found that there are two options that use the same name "--source_ip".
Therefore, change --source_ip to --bind_source_ip to fix init connection
establishment with specific interface.

Signed-off-by: Guofeng Yue <yueguofeng@h-partners.com>
(cherry picked from commit 7fa54f81bfd69faf7d7aac57311ca0ea0063aaf7)
2025-01-13 11:11:47 +08:00
Xinghai Cen
9a7735ee77 Perftest: Fix failure in creating cq when create cq ex is not
The previous TD lock-free patch introduced ibv_create_cq_ex() to
perftest, but it breaks the provider devices which do not support
this API yet. For these devices calling this API leads to an errno
of EOPNOTSUPP. So add a check of errno, and if it is EOPNOTSUPP,
use ibv_create_cq() as a fallback.

Fixes: b6f957f ("Perftest: Add support for TD lock-free mode")
(cherry picked from commit c6e2261f2d5be0856a7e2be14ae794a0ef8649df)
2024-09-06 12:54:19 +08:00
Xinghai Cen
e6d00e04be Perftest: Add support for TD lock-free mode
Add support for TD lock-free mode
New option:  --no_lock

        Usage example:
        ib_send_bw -d hns_0 --no_lock
        ib_send_bw -d hns_0 --no_lock 192.168.100.100

Signed-off-by: Xinghai Cen <cenxinghai@h-partners.com>
(cherry picked from commit 621caab096092f45ac8e5b5d74a16467e4f8df4c)
2024-08-21 22:09:07 +08:00
liweigang
126f9e3c6f fix build error due to automake update 1.17
Signed-off-by: liweigang <liweiganga@uniontech.com>
(cherry picked from commit 6cde06d02cfca0684d63d05d4231d5a262e5cb71)
2024-07-23 10:24:53 +08:00
Guofeng Yue
f00efe5824 Fix rx_depth check for XRC
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)
2024-07-16 10:33:05 +08:00
Guofeng Yue
80ec12cac3 Support selecting congestion control algorithms
Support configuring congestion control algorithms with hns direct verbs.

    New option:  --congest_type

    Usage example:
    ./ib_send_bw -d hns_0 --congest_type=3DDCQCN
    ./ib_send_bw -d hns_0 --congest_type=3DDCQCN 192.168.100.100
    Url:   d3d89123a6

Signed-off-by:Xinghai Cen <cenxinghai@partners.com>
(cherry picked from commit 680317100d3963f56bd4dd1fb7ecf689ec78cee8)
2024-07-16 10:33:05 +08:00
tcc@hello
c4393435e1
update perftest.spec.
Fix missing required libs, e.g. libibverbs.

Signed-off-by: tcc@hello <tangchengchang@126.com>
2024-01-19 10:03:44 +00:00
Xiaoqian Lv
85fbe98af2 backport upstream 4.5-0.20 patches to support riscv64 2023-07-12 16:31:41 +08:00
Wenlong Zhang
ab74ef3ab4 fix build error for loongarch64
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
2023-03-01 10:25:57 +08:00
openeuler-ci-bot
04b43f6752
!9 【轻量级 PR】:fix bogus date in %changelog
From: @zhangkea 
Reviewed-by: @li-yangyang20 
Signed-off-by: @li-yangyang20
2022-12-07 02:59:05 +00:00
Chengchang Tang
1307cd4c49 Replace patches with community version
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>
2022-11-29 14:01:51 +08:00
Chengchang Tang
df00d8ddda Add hns roce to device list to support new io
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>
2022-11-09 14:19:43 +08:00
ut001695
8ca18afb50 fix bogus date in %changelog 2022-06-15 14:41:59 +08:00
cherry530
2fa9f2a5d7 remove unuse files
(cherry picked from commit 8dae64803cae7e1cdb291c754d2d52865b2ed784)
2022-04-12 15:34:09 +08:00
tushenmei
f9672c47c9 bugfix of gcc 10 2021-08-03 15:35:10 +08:00
tushenmei
87431d0897 bugfix multiple definition 2021-07-30 17:22:40 +08:00
shine_
a4c5647f01 fix failed: gcc command not found. 2021-06-04 16:39:57 +08:00
sugarfillet
f971588dc3 package init 2019-12-08 19:21:27 +08:00
sugarfillet
eeb4e0ec7c package init 2019-12-08 19:12:15 +08:00