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: 9642597 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 1C8A46020B for ; Fri, 24 Mar 2017 10:47:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3469B26E81 for ; Fri, 24 Mar 2017 10:47:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 298602823D; Fri, 24 Mar 2017 10:47:56 +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=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 C61C426E81 for ; Fri, 24 Mar 2017 10:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756929AbdCXKry (ORCPT ); Fri, 24 Mar 2017 06:47:54 -0400 Received: from mail-wr0-f182.google.com ([209.85.128.182]:35172 "EHLO mail-wr0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751714AbdCXKrp (ORCPT ); Fri, 24 Mar 2017 06:47:45 -0400 Received: by mail-wr0-f182.google.com with SMTP id u1so6753052wra.2 for ; Fri, 24 Mar 2017 03:47:44 -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=PHoG5q0QT6H6IfH8rgYjw0JCl1nciXE01tM6LazdjEuXDDBC2p4BckPlVpZuWurvXA 901CEY2L9x3tERPJhzSwxSd3DGOF2hmKzGEnsQqYtTctGTTSfFBhG7PPPDAfAIdnDAPU /Xuiw+JjkWpc0eLwObelzbjqgNUhix+nGnLCf8+prTrnyoBzkpTKViZOY2zRJgC2v5ei mC5mP7tXKlcap3iyShkMsIpZuH3FFrpraop/32l6mWIUa/11/RI3/Dus5Ttr+yX0xyFh gsR5rvPRVx33zRIX6qqaYHSBCtu5A1VFzmGebz5iqnCp8QKr+kkS8L+gff+Zeq28Jj+z DXDA== X-Gm-Message-State: AFeK/H3j2IuqxoH8UpZUmY3EfloaDTp86cp/7qRGjry6ov1VCnIhPZBvO0GlDext07D20SJa 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-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 | 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