Skip to content

Commit ae68798

Browse files
committed
Added TCU support
1 parent f961e40 commit ae68798

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/perftest_parameters.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2045,6 +2045,11 @@ enum ctx_device ib_dev_name(struct ibv_context *context)
20452045
case 5522 : dev_fname = INTEL_GEN2; break;
20462046
default : dev_fname = INTEL_GEN2; break;
20472047
}
2048+
} else if (attr.vendor_id == 0x209b) {
2049+
switch (attr.vendor_part_id) {
2050+
case 0x1000: dev_fname = TCU1; break;
2051+
default : dev_fname = UNKNOWN; break;
2052+
}
20482053
} else {
20492054

20502055
//coverity[uninit_use]

src/perftest_parameters.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ enum ctx_device {
387387
CONNECTX8 = 31,
388388
INTEL_GEN2 = 32,
389389
CONNECTX9 = 33,
390+
TCU1 = 34,
390391
};
391392

392393
/* Units for rate limiter */

0 commit comments

Comments
 (0)