Skip to content

Commit

Permalink
Perftest: Add support for CONNECTX9
Browse files Browse the repository at this point in the history
Add support for CONNECTX9 device by making
it recognized by perftest.

Signed-off-by: Shmuel Shaul <[email protected]>
  • Loading branch information
sshaulnv committed Nov 12, 2024
1 parent 289c058 commit 45f9f32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/perftest_parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -1966,6 +1966,7 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
case 4127 : dev_fname = CONNECTX6LX; break;
case 4129 : dev_fname = CONNECTX7; break;
case 4131 : dev_fname = CONNECTX8; break;
case 4133 : dev_fname = CONNECTX9; break;
case 41682 : dev_fname = BLUEFIELD; break;
case 41683 : dev_fname = BLUEFIELD; break;
case 41686 : dev_fname = BLUEFIELD2; break;
Expand Down
3 changes: 2 additions & 1 deletion src/perftest_parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ enum ctx_device {
ERDMA = 29,
HNS = 30,
CONNECTX8 = 31,
INTEL_GEN2 = 32,
INTEL_GEN2 = 32,
CONNECTX9 = 33,
};

/* 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 @@ -1897,6 +1897,7 @@ int verify_params_with_device_context(struct ibv_context *context,
current_dev != CONNECTX6LX &&
current_dev != CONNECTX7 &&
current_dev != CONNECTX8 &&
current_dev != CONNECTX9 &&
current_dev != MLX5GENVF &&
current_dev != BLUEFIELD &&
current_dev != BLUEFIELD2 &&
Expand Down

0 comments on commit 45f9f32

Please sign in to comment.