Skip to content

Commit

Permalink
Perftest: Add support for CONNECTX8.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
HassanKhadour committed Mar 21, 2023
1 parent a416f72 commit 181abdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -1818,6 +1818,7 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
case 4126 : dev_fname = MLX5GENVF; break;
case 4127 : dev_fname = CONNECTX6LX; break;
case 4129 : dev_fname = CONNECTX7; break;
case 4131 : dev_fname = CONNECTX8; break;
case 41682 : dev_fname = BLUEFIELD; break;
case 41683 : dev_fname = BLUEFIELD; break;
case 41686 : dev_fname = BLUEFIELD2; break;
Expand Down
1 change: 1 addition & 0 deletions src/perftest_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ enum ctx_device {
BLUEFIELD3 = 28,
ERDMA = 29,
HNS = 30,
CONNECTX8 = 31,
};

/* Units for rate limiter */
Expand Down
1 change: 1 addition & 0 deletions src/perftest_resources.c
Original file line number Diff line number Diff line change
Expand Up @@ -2149,6 +2149,7 @@ int verify_params_with_device_context(struct ibv_context *context,
current_dev != CONNECTX6DX &&
current_dev != CONNECTX6LX &&
current_dev != CONNECTX7 &&
current_dev != CONNECTX8 &&
current_dev != MLX5GENVF &&
current_dev != BLUEFIELD &&
current_dev != BLUEFIELD2 &&
Expand Down

0 comments on commit 181abdc

Please sign in to comment.