linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE
@ 2017-08-03  9:28 Johannes Thumshirn
  2017-08-03  9:28 ` [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Johannes Thumshirn
  2017-08-03 14:08 ` [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Max Gurtovoy
  0 siblings, 2 replies; 4+ messages in thread
From: Johannes Thumshirn @ 2017-08-03  9:28 UTC (permalink / raw)
  To: Christoph Hellwig, Keith Busch, Sagi Grimberg
  Cc: Linux Kernel Mailinglist, Linux NVMe Mailinglist, Johannes Thumshirn

NVME_RDMA_MAX_SEGMENT_SIZE is not used anywhere, zap it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 drivers/nvme/host/rdma.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index da04df1af231..57ac96ff9acb 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -36,8 +36,6 @@
 
 #define NVME_RDMA_CONNECT_TIMEOUT_MS	3000		/* 3 second */
 
-#define NVME_RDMA_MAX_SEGMENT_SIZE	0xffffff	/* 24-bit SGL field */
-
 #define NVME_RDMA_MAX_SEGMENTS		256
 
 #define NVME_RDMA_MAX_INLINE_SEGMENTS	1
-- 
2.12.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define
  2017-08-03  9:28 [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Johannes Thumshirn
@ 2017-08-03  9:28 ` Johannes Thumshirn
  2017-08-10  8:42   ` Christoph Hellwig
  2017-08-03 14:08 ` [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Max Gurtovoy
  1 sibling, 1 reply; 4+ messages in thread
From: Johannes Thumshirn @ 2017-08-03  9:28 UTC (permalink / raw)
  To: Christoph Hellwig, Keith Busch, Sagi Grimberg
  Cc: Linux Kernel Mailinglist, Linux NVMe Mailinglist, Johannes Thumshirn

ALL_OPTS isn't used anywhere, remove it.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 drivers/nvme/target/fcloop.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c
index 1bb9d5b311b1..1cb9847ec261 100644
--- a/drivers/nvme/target/fcloop.c
+++ b/drivers/nvme/target/fcloop.c
@@ -193,9 +193,6 @@ fcloop_parse_nm_options(struct device *dev, u64 *nname, u64 *pname,
 
 #define TGTPORT_OPTS	(NVMF_OPT_WWNN | NVMF_OPT_WWPN)
 
-#define ALL_OPTS	(NVMF_OPT_WWNN | NVMF_OPT_WWPN | NVMF_OPT_ROLES | \
-			 NVMF_OPT_FCADDR | NVMF_OPT_LPWWNN | NVMF_OPT_LPWWPN)
-
 
 static DEFINE_SPINLOCK(fcloop_lock);
 static LIST_HEAD(fcloop_lports);
-- 
2.12.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE
  2017-08-03  9:28 [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Johannes Thumshirn
  2017-08-03  9:28 ` [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Johannes Thumshirn
@ 2017-08-03 14:08 ` Max Gurtovoy
  1 sibling, 0 replies; 4+ messages in thread
From: Max Gurtovoy @ 2017-08-03 14:08 UTC (permalink / raw)
  To: Johannes Thumshirn, Christoph Hellwig, Keith Busch, Sagi Grimberg
  Cc: Linux Kernel Mailinglist, Linux NVMe Mailinglist



On 8/3/2017 12:28 PM, Johannes Thumshirn wrote:
> NVME_RDMA_MAX_SEGMENT_SIZE is not used anywhere, zap it.
>
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> ---

Looks good,

Reviewed-by: Max Gurtovoy <maxg@mellanox.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define
  2017-08-03  9:28 ` [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Johannes Thumshirn
@ 2017-08-10  8:42   ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2017-08-10  8:42 UTC (permalink / raw)
  To: Johannes Thumshirn
  Cc: Christoph Hellwig, Keith Busch, Sagi Grimberg,
	Linux Kernel Mailinglist, Linux NVMe Mailinglist

Thanks, applied both patches to nvme-4.14.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-10  8:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-03  9:28 [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Johannes Thumshirn
2017-08-03  9:28 ` [PATCH 2/2] nvmet: fcloop: remove ALL_OPTS define Johannes Thumshirn
2017-08-10  8:42   ` Christoph Hellwig
2017-08-03 14:08 ` [PATCH 1/2] nvme: rdma: remove NVME_RDMA_MAX_SEGMENT_SIZE Max Gurtovoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).