[PATCH rfc 6/6] nvme-fabrics: expose support for traddr as dns names to userspace
Sagi Grimberg
sagi at grimberg.me
Mon Jul 24 02:20:22 PDT 2023
userspace needs to know that the kernel is capable of doing a dns
query, so expose a custom opt called "dns_ip_traddr" which is not
an argument, but rather indication of support for dns names for
ip based traddr.
Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
drivers/nvme/host/fabrics.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/nvme/host/fabrics.c b/drivers/nvme/host/fabrics.c
index fadd25538d1b..6a7e8cbdaf69 100644
--- a/drivers/nvme/host/fabrics.c
+++ b/drivers/nvme/host/fabrics.c
@@ -1331,6 +1331,7 @@ static void __nvmf_concat_opt_tokens(struct seq_file *seq_file)
seq_puts(seq_file, ",");
seq_puts(seq_file, tok->pattern);
}
+ seq_puts(seq_file, ",dns_ip_traddr");
seq_puts(seq_file, "\n");
}
--
2.41.0
More information about the Linux-nvme
mailing list