test/vhost: Make sure only Mellanox NICs are used for vhost tests
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: Ia616fa7411496628cd79e13474b6e0b96979480a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8895 Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
c9e23c2b34
commit
e3410dd586
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user