nvme-rdma: move NVME_RDMA_IP_PORT from common file
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Tue, 23 Jan 2024 14:40:25 +0000 (16:40 +0200)
committerKeith Busch <kbusch@kernel.org>
Sat, 2 Mar 2024 23:18:08 +0000 (15:18 -0800)
The correct place for this definition is the nvme rdma header file and
not the common nvme header file.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
include/linux/nvme-rdma.h
include/linux/nvme.h

index 4dd7e6f..146dd22 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _LINUX_NVME_RDMA_H
 #define _LINUX_NVME_RDMA_H
 
+#define NVME_RDMA_IP_PORT              4420
+
 #define NVME_RDMA_MAX_QUEUE_SIZE       128
 
 enum nvme_rdma_cm_fmt {
index bc605ec..ce0c114 100644 (file)
@@ -23,8 +23,6 @@
 
 #define NVME_DISC_SUBSYS_NAME  "nqn.2014-08.org.nvmexpress.discovery"
 
-#define NVME_RDMA_IP_PORT      4420
-
 #define NVME_NSID_ALL          0xffffffff
 
 enum nvme_subsys_type {