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: 9642585 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 8267D6020B for ; Fri, 24 Mar 2017 10:47:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A3AC27F07 for ; Fri, 24 Mar 2017 10:47:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E6C42823D; Fri, 24 Mar 2017 10:47:50 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable 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 271A727F07 for ; Fri, 24 Mar 2017 10:47:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935710AbdCXKrs (ORCPT ); Fri, 24 Mar 2017 06:47:48 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:34996 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935650AbdCXKrk (ORCPT ); Fri, 24 Mar 2017 06:47:40 -0400 Received: by mail-wm0-f43.google.com with SMTP id u132so9702547wmg.0 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=qe+rp3cMbCE+ugE4UqEGwHrYGTc9P4BMr6mE20XIsWne2WNzMulvkemuJMetEkIC4E FdisHf6/+e70+WtFsNo8Ldw2vFJBhIQHOcpv/gvY0/sLV98BvYVaFFNl5Vhz6Oqkpwoq rtRM4BYmJeBox84ZFRfTCo7Q9Dcg81njh/RBynrJ/0M73PsxLV3xjcHldtSnElpNNxW2 V95jsB3r3x+WqSWEA0kx2A3JzwaouoB5+omYvftzMmhGVxe6A2vRVKqd3A3Jrh927juU 5/EKgQcoQYtum1cPWJUB7CWUpWWUgnZZKNlD0ecT4mi2gfetS8ikR6VtPy6YicpH57AS rwmg== X-Gm-Message-State: AFeK/H24LpeBwd8NuL+Z5b8CgrWpLuqhpgewo0y50sb3DIQfUFlOA/S3wXkQ+mxZ2kvjitJ9 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-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@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