From patchwork Sun Nov 13 10:36:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 9424637 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 C06026047D for ; Sun, 13 Nov 2016 10:19:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DF7F28A61 for ; Sun, 13 Nov 2016 10:19:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9254428A73; Sun, 13 Nov 2016 10:19:38 +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,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 067F128A6B for ; Sun, 13 Nov 2016 10:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933085AbcKMKTg (ORCPT ); Sun, 13 Nov 2016 05:19:36 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:21605 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933139AbcKMKTf (ORCPT ); Sun, 13 Nov 2016 05:19:35 -0500 Received: from 172.24.1.36 (EHLO szxeml432-hub.china.huawei.com) ([172.24.1.36]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id CLG53978; Sun, 13 Nov 2016 18:19:05 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by szxeml432-hub.china.huawei.com (10.82.67.209) with Microsoft SMTP Server id 14.3.235.1; Sun, 13 Nov 2016 18:18:57 +0800 From: Lijun Ou To: , CC: Subject: [PATCH v5 rdma-core 7/7] libhns: Add consolidated repo for userspace library of hns Date: Sun, 13 Nov 2016 18:36:00 +0800 Message-ID: <1479033360-56035-8-git-send-email-oulijun@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479033360-56035-1-git-send-email-oulijun@huawei.com> References: <1479033360-56035-1-git-send-email-oulijun@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected 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 This patch configures the consolidated repo to build userspace library of hns(libhns). Signed-off-by: Lijun Ou Signed-off-by: Wei Hu --- v5/v4/v3: - No change over v2 v2: - Delete the CHECK_C_SOURCE_COMPILES and sort the .c file v1: - The initial submit --- CMakeLists.txt | 1 + MAINTAINERS | 6 ++++++ README.md | 1 + providers/hns/CMakeLists.txt | 6 ++++++ 4 files changed, 14 insertions(+) create mode 100644 providers/hns/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ac7477..3c2aa79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -328,6 +328,7 @@ add_subdirectory(libibcm) add_subdirectory(providers/cxgb3) add_subdirectory(providers/cxgb4) add_subdirectory(providers/hfi1verbs) +add_subdirectory(providers/hns) add_subdirectory(providers/i40iw) add_subdirectory(providers/ipathverbs) add_subdirectory(providers/mlx4) diff --git a/MAINTAINERS b/MAINTAINERS index d83de10..bc6eb50 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -57,6 +57,12 @@ S: Supported L: intel-opa@lists.01.org (moderated for non-subscribers) F: providers/hfi1verbs/ +HNS USERSPACE PROVIDER (for hns-roce.ko) +M: Lijun Ou +M: Wei Hu(Xavier) +S: Supported +F: providers/hns/ + I40IW USERSPACE PROVIDER (for i40iw.ko) M: Tatyana Nikolova S: Supported diff --git a/README.md b/README.md index 3a13042..e3bc33f 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ is included: - iw_cxgb3.ko - iw_cxgb4.ko - hfi1.ko + - hns-roce.ko - i40iw.ko - ib_qib.ko - mlx4_ib.ko diff --git a/providers/hns/CMakeLists.txt b/providers/hns/CMakeLists.txt new file mode 100644 index 0000000..19a793e --- /dev/null +++ b/providers/hns/CMakeLists.txt @@ -0,0 +1,6 @@ +rdma_provider(hns + hns_roce_u.c + hns_roce_u_buf.c + hns_roce_u_hw_v1.c + hns_roce_u_verbs.c +)