]> www.infradead.org Git - users/hch/nvme-cli.git/commit
fabrics: allow traddr to be host name for ip based transports
authorSagi Grimberg <sagi@grimberg.me>
Wed, 1 Apr 2020 21:53:44 +0000 (14:53 -0700)
committerKeith Busch <kbusch@kernel.org>
Thu, 23 Apr 2020 20:28:37 +0000 (05:28 +0900)
commit9da606b4afcc1e47f4b3cdc30578e508bd6aa2f9
treeeb49e4d6b41317e1d0d64ff9d2e814e8460f35a3
parentc9545422b248ea5342ce4a6f917066b478d960c5
fabrics: allow traddr to be host name for ip based transports

Some users would like to use well known hostnames instead of remembering
ip addresses. So, allow users to set traddr to be a host name and we will
attempt to resolve against a DNS.

This applies for IP based transports only (e.g. tcp, rdma) while fc and
loop will ignore this distinction.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
fabrics.c