]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
fabrics: add default port number for NVMe/TCP I/O controllers
authorMartin George <marting@netapp.com>
Fri, 6 Aug 2021 12:05:20 +0000 (17:35 +0530)
committerKeith Busch <kbusch@kernel.org>
Fri, 6 Aug 2021 20:09:24 +0000 (14:09 -0600)
commit362c90f364a8e96a2551e83e9fc5746bf4aed859
treee8c07f2b343f5cb57b5ed4be128a40747d67d822
parent59e7477c5a18ec4bcb1f9b1e20d2303b4e0cafb1
fabrics: add default port number for NVMe/TCP I/O controllers

As per section 7.4.9.3 "Transport Service Identifier" of the NVMe over
Fabrics 1.1 specification, the default IANA port number for a NVMe/TCP
discovery controller is 8009. But at the same time, it also clearly
states that NVMe/TCP I/O controllers should not use TCP port number
8009, but may instead use 4420 as the default here.

So make sure to fill these values appropriately, and pass it down.

Signed-off-by: Martin George <marting@netapp.com>
fabrics.c