* [PATCH nvme-cli] nvme: allow addr family to recognize loop
@ 2020-04-21 21:12 Chaitanya Kulkarni
2020-04-23 6:29 ` Sagi Grimberg
2020-06-11 20:57 ` Keith Busch
0 siblings, 2 replies; 3+ messages in thread
From: Chaitanya Kulkarni @ 2020-04-21 21:12 UTC (permalink / raw)
To: linux-nvme; +Cc: kbusch, Chaitanya Kulkarni
This adds ability to decode discovery log page address family
when NVMeOF configured as loop.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
---
fabrics.c | 1 +
linux/nvme.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/fabrics.c b/fabrics.c
index e2c9bfb..5f8b951 100644
--- a/fabrics.c
+++ b/fabrics.c
@@ -136,6 +136,7 @@ static const char * const adrfams[] = {
[NVMF_ADDR_FAMILY_IP6] = "ipv6",
[NVMF_ADDR_FAMILY_IB] = "infiniband",
[NVMF_ADDR_FAMILY_FC] = "fibre-channel",
+ [NVMF_ADDR_FAMILY_LOOP] = "loop",
};
static inline const char *adrfam_str(__u8 adrfam)
diff --git a/linux/nvme.h b/linux/nvme.h
index 640b966..f2c4fdb 100644
--- a/linux/nvme.h
+++ b/linux/nvme.h
@@ -85,6 +85,8 @@ enum {
NVMF_ADDR_FAMILY_IP6 = 2, /* IP6 */
NVMF_ADDR_FAMILY_IB = 3, /* InfiniBand */
NVMF_ADDR_FAMILY_FC = 4, /* Fibre Channel */
+ NVMF_ADDR_FAMILY_LOOP = 254, /* Reserved for host usage */
+ NVMF_ADDR_FAMILY_MAX,
};
/* Transport Type codes for Discovery Log Page entry TRTYPE field */
--
2.22.1
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH nvme-cli] nvme: allow addr family to recognize loop
2020-04-21 21:12 [PATCH nvme-cli] nvme: allow addr family to recognize loop Chaitanya Kulkarni
@ 2020-04-23 6:29 ` Sagi Grimberg
2020-06-11 20:57 ` Keith Busch
1 sibling, 0 replies; 3+ messages in thread
From: Sagi Grimberg @ 2020-04-23 6:29 UTC (permalink / raw)
To: Chaitanya Kulkarni, linux-nvme; +Cc: kbusch
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH nvme-cli] nvme: allow addr family to recognize loop
2020-04-21 21:12 [PATCH nvme-cli] nvme: allow addr family to recognize loop Chaitanya Kulkarni
2020-04-23 6:29 ` Sagi Grimberg
@ 2020-06-11 20:57 ` Keith Busch
1 sibling, 0 replies; 3+ messages in thread
From: Keith Busch @ 2020-06-11 20:57 UTC (permalink / raw)
To: Chaitanya Kulkarni; +Cc: linux-nvme
On Tue, Apr 21, 2020 at 02:12:54PM -0700, Chaitanya Kulkarni wrote:
> This adds ability to decode discovery log page address family
> when NVMeOF configured as loop.
>
> Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thanks! Sorry for the long delay here, patch applied.
_______________________________________________
linux-nvme mailing list
linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-11 20:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 21:12 [PATCH nvme-cli] nvme: allow addr family to recognize loop Chaitanya Kulkarni
2020-04-23 6:29 ` Sagi Grimberg
2020-06-11 20:57 ` Keith Busch
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).