From patchwork Fri Mar 24 10:45:28 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinpu Wang X-Patchwork-Id: 9642611 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 0B4526020B for ; Fri, 24 Mar 2017 10:48:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22D5F28236 for ; Fri, 24 Mar 2017 10:48:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 17C7D2823D; Fri, 24 Mar 2017 10:48:03 +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=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 B5DA327F07 for ; Fri, 24 Mar 2017 10:48:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935698AbdCXKsB (ORCPT ); Fri, 24 Mar 2017 06:48:01 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:34256 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935715AbdCXKru (ORCPT ); Fri, 24 Mar 2017 06:47:50 -0400 Received: by mail-wr0-f178.google.com with SMTP id l43so6748553wre.1 for ; Fri, 24 Mar 2017 03:47:49 -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=UuigZajNKEJ9OQqENi1ZBerhpb7Z0Lwbgs6bh0QnZ94=; b=lge7KNwNadc2wDDkDTxIYBtcPBsRRNMjr2EMeF8RP/qk6JRarNhJJQe8A5eVFX7wgO ipU9GlszdjIQAg4b+drLwkEy8+YmMUliuob0SgS0gjdtfm6FnUj0rZ0+i38qapYLvn8k JfekK6ec6YsR4bvOOsVJgV/pRbrjNGvtn2qAgJMBnEmc0X3EQDBL6YSe4fZ+gkp8qSAB RRhXe5mRii/HO7BnTM82AGzKqcNTlpWdUgRwcD0Ptv7Ae7XNXox3tXmzZkfyewfC4K2Z +XUSOfJA4oGSqZFSu4W4ecNpSNBTMkmPGPkW06m4GW6KKbhIHm2zJQwJ0KiGvRSckOGo jgNw== 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=UuigZajNKEJ9OQqENi1ZBerhpb7Z0Lwbgs6bh0QnZ94=; b=gdI2aEpnyI/qhzFw+Ei58Z6Sr/k6vPPBUweex+a6EkgJpkRC7K+Q3u7rQTEFcF/53S 648A5Erm1e1/xrxeIkGfMmQkb7zdVRBcUPAL6Va6hKaKYjKmotQ6SfN89S91yH5OfH1Y 9LDy48rgOm+Ml9PC62Ivs7v62PI9BLEAtlAEFY0eWUxQK5ea1gZiegwFwzAPc8bfGK1B jP9gPHP0YdATTXUZmw1uR6qW1y5l4uyO2WQxkMAsRj52NhwGJ/epIs4qVseugHl3JH0P u6ckGg1dN9+7ANUye8BaQ+Ww/6WWzkdlSLN83eqBJj3lUCqUcfhYm1m5DLpwbTHQci/T kgaw== X-Gm-Message-State: AFeK/H2geNt0O636GWVx1xQvPcu+4jIAuKZTwtfH8afxIsW4+ktVzJNCcx1JHHJ49Lw5I11x X-Received: by 10.223.144.209 with SMTP id i75mr6769805wri.51.1490352463126; Fri, 24 Mar 2017 03:47:43 -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.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Mar 2017 03:47:42 -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 13/28] ibtrs_srv: add Makefile and Kconfig Date: Fri, 24 Mar 2017 11:45:28 +0100 Message-Id: <1490352343-20075-14-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 | 1 + drivers/infiniband/ulp/Makefile | 1 + drivers/infiniband/ulp/ibtrs_server/Kconfig | 8 ++++++++ drivers/infiniband/ulp/ibtrs_server/Makefile | 6 ++++++ 4 files changed, 16 insertions(+) create mode 100644 drivers/infiniband/ulp/ibtrs_server/Kconfig create mode 100644 drivers/infiniband/ulp/ibtrs_server/Makefile diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index cb1b864..07aa050 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -86,6 +86,7 @@ source "drivers/infiniband/ulp/iser/Kconfig" source "drivers/infiniband/ulp/isert/Kconfig" source "drivers/infiniband/ulp/ibtrs_client/Kconfig" +source "drivers/infiniband/ulp/ibtrs_server/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 acd8ce6..eb4da3f 100644 --- a/drivers/infiniband/ulp/Makefile +++ b/drivers/infiniband/ulp/Makefile @@ -4,3 +4,4 @@ obj-$(CONFIG_INFINIBAND_SRPT) += srpt/ obj-$(CONFIG_INFINIBAND_ISER) += iser/ obj-$(CONFIG_INFINIBAND_ISERT) += isert/ obj-$(CONFIG_INFINIBAND_IBTRS_CLT) += ibtrs_client/ +obj-$(CONFIG_INFINIBAND_IBTRS_SRV) += ibtrs_server/ diff --git a/drivers/infiniband/ulp/ibtrs_server/Kconfig b/drivers/infiniband/ulp/ibtrs_server/Kconfig new file mode 100644 index 0000000..6fbdc54 --- /dev/null +++ b/drivers/infiniband/ulp/ibtrs_server/Kconfig @@ -0,0 +1,8 @@ +config INFINIBAND_IBTRS_SRV + tristate "InfiniBand IBTRS SERVER" + depends on INFINIBAND_ADDR_TRANS + ---help--- + Support for the simplified data transfer over InfiniBand. + This offer API to user module IBNBD_SERVER + + The IBTRS protocol is defined by the ProfitBricks GmbH. diff --git a/drivers/infiniband/ulp/ibtrs_server/Makefile b/drivers/infiniband/ulp/ibtrs_server/Makefile new file mode 100644 index 0000000..39d9e1d --- /dev/null +++ b/drivers/infiniband/ulp/ibtrs_server/Makefile @@ -0,0 +1,6 @@ + +obj-$(CONFIG_INFINIBAND_IBTRS_SRV) += ibtrs_server.o + +ibtrs_server-y := ibtrs_srv.o ibtrs_srv_sysfs.o \ + ../ibtrs_lib/ibtrs.o ../ibtrs_lib/ibtrs-proto.o ../ibtrs_lib/iu.o \ + ../ibtrs_lib/heartbeat.o ../ibtrs_lib/common.o