test/nvmf: don't skip tcp tests over soft roce

In the test pool, if a vm has previously had the soft-roce rxe module
loaded, it will report up that the NIC is using Soft-RoCE. If we are
doing the nvmf_tcp tests, then we should not exit prematurely.

Change-Id: I67683632b0457a488826e207e77a4813bac982c9
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475316
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Seth Howell 2019-11-20 15:36:49 -07:00 committed by Tomasz Zawadzki
parent 1a903f9c52
commit b529dbb1d0

View File

@ -27,7 +27,7 @@ function disconnect_init()
# There is an intermittent error relating to this test and Soft-RoCE. for now, just # There is an intermittent error relating to this test and Soft-RoCE. for now, just
# skip this test if we are using rxe. TODO: get to the bottom of GitHub issue #1043 # skip this test if we are using rxe. TODO: get to the bottom of GitHub issue #1043
if check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then if [ $TEST_TRANSPORT == "rdma" ] && check_ip_is_soft_roce $NVMF_FIRST_TARGET_IP; then
echo "Using software RDMA, skipping the target disconnect tests." echo "Using software RDMA, skipping the target disconnect tests."
exit 0 exit 0
fi fi