89d2efe07e
We were setting this value in the target from our initiator, but it turns out the rdma_conn_params struct is responsible for setting the opposite side so we need to add it in the target side when accepting connections. Also, add a test to demonstrate target functionality when we overwhelm the SRQ. It is useful to note that performance really tanks when you start overwhelming the srq so it may be useful to use this test case to check performance gains in edge cases over time. Change-Id: Iac541bd9fc1d82eca9f21e7abc3f625663a6c460 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/451678 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
54 lines
1.5 KiB
Bash
Executable File
54 lines
1.5 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
testdir=$(readlink -f $(dirname $0))
|
|
rootdir=$(readlink -f $testdir/../..)
|
|
source $rootdir/test/common/autotest_common.sh
|
|
|
|
if [ ! $(uname -s) = Linux ]; then
|
|
exit 0
|
|
fi
|
|
|
|
source $rootdir/test/nvmf/common.sh
|
|
|
|
timing_enter nvmf_tgt
|
|
|
|
trap "exit 1" SIGINT SIGTERM EXIT
|
|
|
|
run_test suite test/nvmf/filesystem/filesystem.sh
|
|
run_test suite test/nvmf/discovery/discovery.sh
|
|
run_test suite test/nvmf/connect_disconnect/connect_disconnect.sh
|
|
if [ $SPDK_TEST_NVME_CLI -eq 1 ]; then
|
|
run_test suite test/nvmf/nvme_cli/nvme_cli.sh
|
|
fi
|
|
run_test suite test/nvmf/lvol/nvmf_lvol.sh
|
|
run_test suite test/nvmf/srq_overwhelm/srq_overwhelm.sh
|
|
run_test suite test/nvmf/shutdown/shutdown.sh
|
|
run_test suite test/nvmf/bdev_io_wait/bdev_io_wait.sh
|
|
run_test suite test/nvmf/create_transport/create_transport.sh
|
|
|
|
if [ $RUN_NIGHTLY -eq 1 ]; then
|
|
run_test suite test/nvmf/multiconnection/multiconnection.sh
|
|
fi
|
|
|
|
timing_enter host
|
|
|
|
run_test suite test/nvmf/host/bdevperf.sh
|
|
run_test suite test/nvmf/host/identify.sh
|
|
run_test suite test/nvmf/host/perf.sh
|
|
# TODO: disabled due to intermittent failures (RDMA_CM_EVENT_UNREACHABLE/ETIMEDOUT)
|
|
#run_test test/nvmf/host/identify_kernel_nvmf.sh
|
|
run_test suite test/nvmf/host/aer.sh
|
|
if [ $SPDK_RUN_ASAN -eq 0 ]; then
|
|
run_test suite test/nvmf/host/fio.sh
|
|
fi
|
|
run_test suite test/nvmf/nmic/nmic.sh
|
|
|
|
timing_exit host
|
|
trap - SIGINT SIGTERM EXIT
|
|
|
|
run_test suite test/nvmf/rpc/rpc.sh
|
|
run_test suite test/nvmf/fio/fio.sh
|
|
revert_soft_roce
|
|
|
|
report_test_completion "nvmf"
|
|
timing_exit nvmf_tgt
|