diff --git a/etc/spdk/nvmf.conf.in b/etc/spdk/nvmf.conf.in index b14f727e3..7d57b1f12 100644 --- a/etc/spdk/nvmf.conf.in +++ b/etc/spdk/nvmf.conf.in @@ -69,10 +69,10 @@ # NVM subsystem controller session, providing a means to distribute NVMf # traffic across all network ports. [Port1] - FabricIntf 15.15.15.2:7174 + FabricIntf 15.15.15.2:4420 [Port2] - FabricIntf 192.168.2.21:7174 + FabricIntf 192.168.2.21:4420 # Users must change the Host section(s) to match the IP # addresses of the clients that will connect to this target. diff --git a/lib/nvmf/nvmf_internal.h b/lib/nvmf/nvmf_internal.h index f1b1bb861..731c63216 100644 --- a/lib/nvmf/nvmf_internal.h +++ b/lib/nvmf/nvmf_internal.h @@ -61,7 +61,7 @@ #define SPDK_NVMF_DEFAULT_MAX_SESSIONS_PER_SUBSYSTEM 1 #define SPDK_NVMF_DEFAULT_MAX_QUEUE_DEPTH 128 #define SPDK_NVMF_DEFAULT_MAX_CONNECTIONS_PER_SESSION 4 -#define SPDK_NVMF_DEFAULT_SIN_PORT ((uint16_t)7174) +#define SPDK_NVMF_DEFAULT_SIN_PORT ((uint16_t)4420) #define OBJECT_NVMF_IO 0x30 diff --git a/test/nvmf/common.sh b/test/nvmf/common.sh index 163501791..4f99a03c6 100755 --- a/test/nvmf/common.sh +++ b/test/nvmf/common.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -NVMF_PORT=7174 +NVMF_PORT=4420 NVMF_IP_PREFIX="192.168.100" NVMF_IP_LEAST_ADDR=8 NVMF_FIRST_TARGET_IP=$NVMF_IP_PREFIX.$NVMF_IP_LEAST_ADDR diff --git a/test/nvmf/nvmf.conf b/test/nvmf/nvmf.conf index 9827b3e8d..79f13cf89 100644 --- a/test/nvmf/nvmf.conf +++ b/test/nvmf/nvmf.conf @@ -11,7 +11,7 @@ [Port1] Comment "Test1" - FabricIntf 192.168.100.8:7174 + FabricIntf 192.168.100.8:4420 [Host1] Netmask 192.168.100.0/24