test/nvmf: don't use SoftRoCE with bridges
Bridges are not working with SoftRoCE. Change-Id: I4c600efb3b7bf85386658fd050cd2755dfc542b4 Signed-off-by: Karol Latecki <karol.latecki@intel.com> Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/400009 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
758d438bf5
commit
c0021d08ce
@ -38,6 +38,9 @@ function detect_soft_roce_nics()
|
||||
all_nics=("${all_nics[@]/"Iface"}")
|
||||
non_rdma_nics=$(echo "$rdma_nics $all_nics" | sort | uniq -u)
|
||||
for nic in $non_rdma_nics; do
|
||||
if [[ -d /sys/class/net/${nic}/bridge ]]; then
|
||||
continue
|
||||
fi
|
||||
rxe_cfg add $nic || true
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user