From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79CE3C4332B for ; Tue, 24 Mar 2020 09:03:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C2012080C for ; Tue, 24 Mar 2020 09:03:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="atRFT4cS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C2012080C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=grimberg.me Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=TlTmZeOksewU9IStIsx2Me5C9VE0124S7MVz+9eo6p0=; b=atRFT4cSuTnUqc tz3PRFIx8qnyzoeUA0duQlsd9Z4zqcXAozR2u1cQDPKl4dBzAu29hd6p7P5Tmefj9Y9D9TDqLIrgU ZTG5MXtRRjBjnAGrW4K/myStxPAS9LwEE8xx1/5Ogs1sk5mRlOL1+mfi7uPLueFYnFXirBEYDlKEz UftD3F3jynCZi1LQMbDSYBjzRRb5XSnEWPDeNqZ5DxOHsqHwGNFySGXlv+1jHUof1Uy3gUehgCW+z kbLGr9U82TAUnjftezyR+lqDzPszwcy+8xBn+/JlhR3/VNHBwzaN6F2wXsjyLl1VzITTvYUkOgyKM GnYTmvmhO/M/hnqwofCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGfT4-0002iK-8Q; Tue, 24 Mar 2020 09:03:26 +0000 Received: from [2601:647:4802:9070:45a4:15de:f2dc:1149] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGfT3-0002hx-AW; Tue, 24 Mar 2020 09:03:25 +0000 From: Sagi Grimberg To: linux-nvme@lists.infradead.org, Keith Busch Subject: [PATCH rfc 0/2] support ip resolution with hostnames Date: Tue, 24 Mar 2020 02:03:22 -0700 Message-Id: <20200324090324.24459-1-sagi@grimberg.me> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org People hate IP addresses, that's why DNS exist. This simple patch allows the user to connect to fabric device using a --hostname parameter instead of a --traddr to make peoples' lives a little more convinient (consider this nvme-cli small contribution to the covid19 battle). Sagi Grimberg (2): fabrics: add fabrics_ prefix to fabrics operations fabrics: allow user to pass hostname instead of traddr fabrics.c | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- fabrics.h | 8 +++--- nvme.c | 10 +++---- 3 files changed, 88 insertions(+), 13 deletions(-) -- 2.20.1 _______________________________________________ linux-nvme mailing list linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme