From e3410dd586c15effa542efa76255cc631f494410 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Thu, 22 Jul 2021 11:19:12 +0200 Subject: [PATCH] test/vhost: Make sure only Mellanox NICs are used for vhost tests Signed-off-by: Michal Berger Change-Id: Ia616fa7411496628cd79e13474b6e0b96979480a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8895 Reviewed-by: Karol Latecki Reviewed-by: Pawel Piatek Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins --- test/vhost/migration/migration-tc2.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/vhost/migration/migration-tc2.sh b/test/vhost/migration/migration-tc2.sh index 9ab2e5dc2..bd6423a52 100644 --- a/test/vhost/migration/migration-tc2.sh +++ b/test/vhost/migration/migration-tc2.sh @@ -34,6 +34,8 @@ function migration_tc2_cleanup_vhost_config() { function migration_tc2_configure_vhost() { timing_enter migration_tc2_configure_vhost + # HACK: Make sure we stop detecting rdma-capable NICs on mlx + modprobe mlx5_ib || : TEST_TRANSPORT=rdma TEST_MODE=iso nvmftestinit # Those are global intentionally - they will be unset in cleanup handler