Skip to content

Commit 25802f3

Browse files
mgurtovoykeithbusch
authored andcommitted
nvme-rdma: move NVME_RDMA_IP_PORT from common file
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>
1 parent 2682832 commit 25802f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/nvme-rdma.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#ifndef _LINUX_NVME_RDMA_H
77
#define _LINUX_NVME_RDMA_H
88

9+
#define NVME_RDMA_IP_PORT 4420
10+
911
#define NVME_RDMA_MAX_QUEUE_SIZE 128
1012

1113
enum nvme_rdma_cm_fmt {

include/linux/nvme.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323

2424
#define NVME_DISC_SUBSYS_NAME "nqn.2014-08.org.nvmexpress.discovery"
2525

26-
#define NVME_RDMA_IP_PORT 4420
27-
2826
#define NVME_NSID_ALL 0xffffffff
2927

3028
enum nvme_subsys_type {

0 commit comments

Comments
 (0)