Skip to content

Commit 181abdc

Browse files
committed
Perftest: Add support for CONNECTX8.
Add support for CONNECTX8 device by making it recognized by perftest. Unrecognized devices will use the old post send method that doesn't support some features(for example DC qp type). Making the CONENCTX8 device recognized by perftest will allow it to use the new post send method that contains features the device couldn't apply in the past. Signed-off-by: Hassan Khadour <[email protected]>
1 parent a416f72 commit 181abdc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/perftest_parameters.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,6 +1818,7 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
18181818
case 4126 : dev_fname = MLX5GENVF; break;
18191819
case 4127 : dev_fname = CONNECTX6LX; break;
18201820
case 4129 : dev_fname = CONNECTX7; break;
1821+
case 4131 : dev_fname = CONNECTX8; break;
18211822
case 41682 : dev_fname = BLUEFIELD; break;
18221823
case 41683 : dev_fname = BLUEFIELD; break;
18231824
case 41686 : dev_fname = BLUEFIELD2; break;

src/perftest_parameters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ enum ctx_device {
382382
BLUEFIELD3 = 28,
383383
ERDMA = 29,
384384
HNS = 30,
385+
CONNECTX8 = 31,
385386
};
386387

387388
/* Units for rate limiter */

src/perftest_resources.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,6 +2149,7 @@ int verify_params_with_device_context(struct ibv_context *context,
21492149
current_dev != CONNECTX6DX &&
21502150
current_dev != CONNECTX6LX &&
21512151
current_dev != CONNECTX7 &&
2152+
current_dev != CONNECTX8 &&
21522153
current_dev != MLX5GENVF &&
21532154
current_dev != BLUEFIELD &&
21542155
current_dev != BLUEFIELD2 &&

0 commit comments

Comments
 (0)