Commit 4946c154 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvmf: change default RDMA port to 4420



4420 is the officially assigned IP port from IANA for NVMe over Fabrics.

Change-Id: I433a5ed0780d1ffd7ca6512617759d59fa5e8def
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 55454316
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
#!/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
+1 −1
Original line number Diff line number Diff line
@@ -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