Commit 920087f
committed
Perftest: fix OOO_RECV_WRS enablement flow
Enabling the HAVE_MLX5DV and HAVE_OOO_RECV_WRS flags during perftest
compilation leads to an issue when testing non-Mellanox devices.
Specifically, the create_qp function will invoke mlx5dv_query_device,
which is intended for Mellanox devices. This call will cause the test to
terminate prematurely, as third-party devices do not support the mlx5dv
interface
This commit bypass the mlx5dv_query_device if using non-mlnx device.
Signed-off-by: Shmuel Shaul <[email protected]>1 parent cd69ae0 commit 920087f
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1555 | 1555 | | |
1556 | 1556 | | |
1557 | 1557 | | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
1558 | 1574 | | |
1559 | 1575 | | |
1560 | 1576 | | |
| |||
2347 | 2363 | | |
2348 | 2364 | | |
2349 | 2365 | | |
| 2366 | + | |
2350 | 2367 | | |
2351 | 2368 | | |
2352 | 2369 | | |
| |||
2489 | 2506 | | |
2490 | 2507 | | |
2491 | 2508 | | |
2492 | | - | |
| 2509 | + | |
| 2510 | + | |
| 2511 | + | |
| 2512 | + | |
2493 | 2513 | | |
2494 | 2514 | | |
2495 | 2515 | | |
| |||
0 commit comments