From patchwork Fri Mar 24 10:45:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinpu Wang X-Patchwork-Id: 9642581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 360F160328 for ; Fri, 24 Mar 2017 10:47:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E1AB26E81 for ; Fri, 24 Mar 2017 10:47:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42F9028236; Fri, 24 Mar 2017 10:47:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2B4C26E81 for ; Fri, 24 Mar 2017 10:47:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935681AbdCXKrq (ORCPT ); Fri, 24 Mar 2017 06:47:46 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:36377 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935649AbdCXKrk (ORCPT ); Fri, 24 Mar 2017 06:47:40 -0400 Received: by mail-wm0-f42.google.com with SMTP id n11so9671606wma.1 for ; Fri, 24 Mar 2017 03:47:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=profitbricks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MWTdGUKnOyFb3JiHmLhn3f5Y2vFWz8niT5cmA3iO5Lw=; b=SKr+2M+CHh7CRTpPvrtsyF9rna0K+fYEw27YnOQ1k/o/BEg+dSTNuxpmZMYALRv/7n 9OWS1GkIAOjCi4QlLrgbKUYTDvB2WvLCRzrPJ2EFDPC24tcJeylU6YQj2BT1Zsfe4qIx Lw1jHwKOUp5IpWRSFsZ9dxqnqybk/L8m52gmR/HcmXxn9BzSeoO73N9OLsPV3XXpOV3Y jhVDoyFe+j/uTdmK7BMGHEmhsFUeI+ylF6rfyxgAkFVowMEp2RlB6fTkDok8UeubrDin eOuH+ikhZpSjmYKioJPwYi/uJsFsn1d6+r+Ic4OTplL4767B+SP9Ac4GWRrFAEMHfCUB cx2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MWTdGUKnOyFb3JiHmLhn3f5Y2vFWz8niT5cmA3iO5Lw=; b=YZ6VLlAIIiK9XjA6o73GasQ1DmGOFGQZuHkZpWwQ7rtlRgqUvTOL1sZa3fSMZwS5qN NFYxdzV8hVoE5NZxNTx1OfOsl1GDWygMHFSrNWa7fpK6HQwv7kP3F0eJwA1wYH2WNlHJ ylhzSVyOQ7fAVsod2cXKWtS1VCaCoue71dG9ubfgLGxw8hCyYCBrxqVAFx7Fbu7kv6DQ jW1IMS4Zs47uU9lI8kiJwfiRN3WWfrn0Xzbi5etwNarXuUHTvCIabSUgCRvmxRNESOJ3 jvLH0R9RLKLnlYGR5ZHYvZ5PYVEO86JKqbsOsV63hecwsj6uV07HZrJ3aaFO3E2Fo8Xr K+ZQ== X-Gm-Message-State: AFeK/H0wHeH/W4qcBJKhOvrJiepexnNZZKPWd85ss2RgCpHbCJF8cCPi4YPCv1VMwNNLbEy7 X-Received: by 10.28.135.149 with SMTP id j143mr2234978wmd.19.1490352458062; Fri, 24 Mar 2017 03:47:38 -0700 (PDT) Received: from jinpu-GA-870A-USB3.pb.local ([62.217.45.26]) by smtp.gmail.com with ESMTPSA id s17sm2404458wrc.25.2017.03.24.03.47.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 03:47:37 -0700 (PDT) From: Jack Wang X-Google-Original-From: Jack Wang To: linux-block@vger.kernel.org, linux-rdma@vger.kernel.org Cc: dledford@redhat.com, axboe@kernel.dk, hch@lst.de, mail@fholler.de, Milind.dumbare@gmail.com, yun.wang@profitbricks.com, Jack Wang Subject: [PATCH 08/28] ibtrs_clt: add Makefile and Kconfig Date: Fri, 24 Mar 2017 11:45:23 +0100 Message-Id: <1490352343-20075-9-git-send-email-jinpu.wangl@profitbricks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490352343-20075-1-git-send-email-jinpu.wangl@profitbricks.com> References: <1490352343-20075-1-git-send-email-jinpu.wangl@profitbricks.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jack Wang Signed-off-by: Jack Wang --- drivers/infiniband/Kconfig | 2 ++ drivers/infiniband/ulp/Makefile | 1 + drivers/infiniband/ulp/ibtrs_client/Kconfig | 8 ++++++++ drivers/infiniband/ulp/ibtrs_client/Makefile | 6 ++++++ 4 files changed, 17 insertions(+) create mode 100644 drivers/infiniband/ulp/ibtrs_client/Kconfig create mode 100644 drivers/infiniband/ulp/ibtrs_client/Makefile diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 66f8602..cb1b864 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -85,6 +85,8 @@ source "drivers/infiniband/ulp/srpt/Kconfig" source "drivers/infiniband/ulp/iser/Kconfig" source "drivers/infiniband/ulp/isert/Kconfig" +source "drivers/infiniband/ulp/ibtrs_client/Kconfig" + source "drivers/infiniband/sw/rdmavt/Kconfig" source "drivers/infiniband/sw/rxe/Kconfig" diff --git a/drivers/infiniband/ulp/Makefile b/drivers/infiniband/ulp/Makefile index f3c7dcf..acd8ce6 100644 --- a/drivers/infiniband/ulp/Makefile +++ b/drivers/infiniband/ulp/Makefile @@ -3,3 +3,4 @@ obj-$(CONFIG_INFINIBAND_SRP) += srp/ obj-$(CONFIG_INFINIBAND_SRPT) += srpt/ obj-$(CONFIG_INFINIBAND_ISER) += iser/ obj-$(CONFIG_INFINIBAND_ISERT) += isert/ +obj-$(CONFIG_INFINIBAND_IBTRS_CLT) += ibtrs_client/ diff --git a/drivers/infiniband/ulp/ibtrs_client/Kconfig b/drivers/infiniband/ulp/ibtrs_client/Kconfig new file mode 100644 index 0000000..3cf0728 --- /dev/null +++ b/drivers/infiniband/ulp/ibtrs_client/Kconfig @@ -0,0 +1,8 @@ +config INFINIBAND_IBTRS_CLT + tristate "InfiniBand IBTRS CLIENT" + depends on INFINIBAND_ADDR_TRANS + ---help--- + Support for the simplified data transfer over InfiniBand. + This offer API to user module IBNBD_CLIENT + + The IBTRS protocol is defined by the ProfitBricks GmbH. diff --git a/drivers/infiniband/ulp/ibtrs_client/Makefile b/drivers/infiniband/ulp/ibtrs_client/Makefile new file mode 100644 index 0000000..d0fb226 --- /dev/null +++ b/drivers/infiniband/ulp/ibtrs_client/Makefile @@ -0,0 +1,6 @@ + +obj-$(CONFIG_INFINIBAND_IBTRS_CLT) += ibtrs_client.o + +ibtrs_client-y := ibtrs_clt.o ibtrs_clt_sysfs.o \ + ../ibtrs_lib/ibtrs.o ../ibtrs_lib/ibtrs-proto.o ../ibtrs_lib/iu.o \ + ../ibtrs_lib/heartbeat.o ../ibtrs_lib/common.o