Commit 1cbacb58 authored by Michal Berger's avatar Michal Berger Committed by Konrad Sztyber
Browse files

test/nvmf: Clarify comment about lack of support for iWARP in tests



Change-Id: I3179df3c9edb89b7c15f5788df9d18dc4d982ea4
Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25190


Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
parent 169c3cd0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -397,7 +397,9 @@ function gather_supported_nvmf_pci_devs() {
	# E810 cards also need irdma driver to be around.
	if [[ $SPDK_TEST_NVMF_NICS == e810 && $TEST_TRANSPORT == rdma ]]; then
		if [[ -e /sys/module/irdma/parameters/roce_ena ]]; then
			# Our tests don't play well with iWARP protocol. Make sure we use RoCEv2 instead.
			# Our tests don't play well with iWARP protocol since CQ resize is not supported.
			# This may affect some tests, especially those which target multiconnection setups.
			# Considering all that, make sure we use RoCEv2 instead.
			(($(< /sys/module/irdma/parameters/roce_ena) != 1)) && modprobe -r irdma
		fi
		modinfo irdma && modprobe irdma roce_ena=1