From patchwork Thu Nov 3 23:44:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9411633 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 482BE60585 for ; Thu, 3 Nov 2016 23:48:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38AC82AF77 for ; Thu, 3 Nov 2016 23:48:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2DA982AF9C; Thu, 3 Nov 2016 23:48:48 +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 45BC32AF86 for ; Thu, 3 Nov 2016 23:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933434AbcKCXsn (ORCPT ); Thu, 3 Nov 2016 19:48:43 -0400 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:24608 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933240AbcKCXsm (ORCPT ); Thu, 3 Nov 2016 19:48:42 -0400 Received: from sc9-mailhost1.vmware.com (10.113.161.71) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Thu, 3 Nov 2016 16:48:34 -0700 Received: from EX13-CAS-005.vmware.com (ex13-cas-005.vmware.com [10.113.191.55]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 0E8D8184B8; Thu, 3 Nov 2016 16:48:41 -0700 (PDT) Received: from EX13-MBX-038.vmware.com (10.113.191.189) by EX13-MBX-009.vmware.com (10.113.191.29) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Thu, 3 Nov 2016 16:48:30 -0700 Received: from EX13-CAS-001.vmware.com (10.113.191.51) by EX13-MBX-038.vmware.com (10.113.191.189) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Thu, 3 Nov 2016 16:48:30 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (10.113.170.11) by EX13-CAS-001.vmware.com (10.113.191.51) with Microsoft SMTP Server (TLS) id 15.0.1156.6 via Frontend Transport; Thu, 3 Nov 2016 16:48:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yLJPaJ4VE8HYPlN9LTamof3aFsOuTnkTPN5idi09mEw=; b=qMpnicFcvKN14nB8FFciKwC0EwkVlu2NLbyx1E7A0l1yFbakWykDTuRxaM00Yfv7fMroNXGBccF9Fy5kVVXJi7pTFo1qlrOqxOjT28nNICpIXx/vE0TqDxvdxrcXZRCAU1c3fQ4TlBWFxNRwSfJlSQErOwV9rHAFJD/onHmeCWU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aditr@vmware.com; Received: from gandalf.eng.vmware.com (208.91.1.34) by BLUPR0501MB836.namprd05.prod.outlook.com (10.141.251.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.1; Thu, 3 Nov 2016 23:48:26 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive Subject: [PATCH 7/8] libpvrdma: Add to consolidated rdma-core Date: Thu, 3 Nov 2016 16:44:36 -0700 Message-ID: <1478216677-6150-8-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478216677-6150-1-git-send-email-aditr@vmware.com> References: <1478216677-6150-1-git-send-email-aditr@vmware.com> MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: BY2PR04CA052.namprd04.prod.outlook.com (10.141.249.170) To BLUPR0501MB836.namprd05.prod.outlook.com (10.141.251.150) X-MS-Office365-Filtering-Correlation-Id: b47af468-7455-4d5c-754e-08d40443e81a X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 2:m1CKFur2G3dpQ7QgXJURZA21oVk1QOXSsJeIIrirujvrvE4fJ2Ia03rZi02xEOT71ndnXT10VMIrNCY0RzwObyvqGkc98Tw4ZzzVSvAfMCHjjm5qac8dEOATwtUiT2d7vUJPS2bL387uzrkEjwMMtQecI7S0Ijp4e+PxWkl+sV9jTZHT1Hn0UWaQ4KS8cg/YwcV/b4nhqePHkClX0RdUdg==; 3:4bZ183mFk/4LjzjxH2rOCn36WpncpqkGF5LmaBTP/lj7MNbB2DImRa5d3441MtbBUOGvRZ6QPxI+PwhXhcm0juiihQk2kpNKgOxraPAL8YTvhsj9v2EpivzOw0R2WX/xI+Sz5pJF9sVBQCQ2ZUuCNw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 25:eB9WtLiv61dKrTiM3wcpUVx9G9g3Q4DLPqWYaIHN+90L32R9WQnceVQEjb9hi1/Do+b0Eoa4Hv/LUqPecoOavgEHwSL+L7CqBu9/cOriaMSI0RxaGHNghSx7SwlmI19hXH5vLc+qwg0u4dTI6qU1xGAfLvzvzmt6andkXZt34cp3k2A4HwIwbw6AEb5APz/Iz+qUQ7NoWF108Ti/My5gpTsQkvYCpuTP383Yoku0L2TBkL1QIYOrG/wmm/HmCFkQsOUz85JNrNcZFy4bNJ+/9+XfIaWRHD+afUDGNIigdYFKyyL4Z0I21Qk7bSs5qdm1G4o7OO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B0aM4kpcYwdZs4M0MLWBHd9ZiMWnHV64KEMaM+Z/5Nh7e9o8Qy3ryUaAPGJ89327YQfvy7eqG1wOhDwWc6Yc46vPvI99CFVXSCNjcjhZ/o/nkrQgfMQHUeJiPZHXpgG+2Q3R6vat1dSqsCBNVJglWBYMWlqhunr1EPOuQKpuPll+321P0a+/Pv1WRyGsz3iD5BrPNQH5ECvwvV0xb6PXxr1E7V/kXjBbgN/oTvot5CC4nH1dqlElC5NJWk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150)(111885846020525); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR0501MB836; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 4:i5GCVtWcRIApiW0HgqddIX54yNE+G+z2AOxy18eQpgpcSfMNB9ua63rcdSv3N40ccLw95t9e+3Hk/KdjFDq0eF0paAUVbQW/Ef299pPwxd0l08tRUWhbBajzIt0m9dktZSMZglIPM1hojbvuEVOBGheUrs++nBIctAOrWW0W3nggI6JvmByEU2PC2nTSl1q2RWNeF9yA3P7nzQb/n10SMeGVCHF976whUKMp4bXI0b66RCcL0Lr3238wvsvsZNUG5x9017nodWNedrNyEzqYDRm82rD7nwW6EA1DhP9FSLbnRaVSyx4quC2QS1i1z2ZKrA2VkFvOCgfQnIFAkxvrmN+xNeO8it+hHVkBw5wnTMlTLcM+IZ8dnJ2dJXefEs4WT7r5LFuRWA4efNVu1UVSwsVzdN8CSDfN/XXInWU+VvvQ3o3BQOfRup0/jkH+iPIhcKD32EbYSViNX5x1Z6Y12OpxOJrrFoOTFTCRM2GHFUg= X-Forefront-PRVS: 011579F31F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(8676002)(6116002)(5003940100001)(106356001)(5001770100001)(97736004)(3846002)(586003)(107886002)(19580395003)(19580405001)(81156014)(81166006)(189998001)(66066001)(47776003)(4001430100002)(50226002)(7846002)(92566002)(7736002)(305945005)(2201001)(101416001)(6666003)(42186005)(50986999)(6636002)(86362001)(77096005)(6862003)(48376002)(50466002)(105586002)(76176999)(2950100002)(2906002)(4326007)(68736007)(36756003)(5660300001)(229853001)(33646002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0501MB836; H:gandalf.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (EX13-EDG-OU-002.vmware.com: aditr@vmware.com does not designate permitted sender hosts) Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0501MB836; 23:2Y+DWVY/orq/hqOpuKGYw44DtV0Q62g4pronFjav?= =?us-ascii?Q?er6u8ivzg4VKZs+9Q7CDhwZNNBTUMJl/ikv2x5fMYzav5tkgwa91XiiG4/aN?= =?us-ascii?Q?rfUIzbHwNK7PEQc4mduDZsOwd1rFYKYInsDuyll8Zubp/tvoqlIlWkFnB+SY?= =?us-ascii?Q?pLiYgZqCouNV3pcmallq2OfYCOAnkm8qqOOmaOLKaAjgFNsjtBRiV1Ti3tuB?= =?us-ascii?Q?4qi1LTFIYQN6y8/bHdiwUYxjGxXXPwDem0V12XysUO1AfW0eB6QZ4qMdzge/?= =?us-ascii?Q?3llDAgPKGKC72iXPG7aZPF0k/8o1hzDIknF1+QIxFJ1d6VGiXHNzvXQqBPaM?= =?us-ascii?Q?7bfGd9QAO35llk1mW3wvi04C/26vxzDH8qgBJb3XesqdQoPaHV4EUmt3l0JE?= =?us-ascii?Q?HBbh6Cnw7ee87qh97ATjkxUydLAXcuNcC3jTmpFD8KyWQbvAZtqd+9v54p/D?= =?us-ascii?Q?3rP4okrxyzYO+JKwYp0fXznafersW7uftzIFnq8ncEWFf/rBzHSriFmlLcop?= =?us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37RXUdtjUIIPTDiv6QiROGlgrJkkT6hDg91P48RDEqv1ikYH0Pi9IgxrWttNsqUf19oMnZKaGrPUhcCX9U33guXjxRLx5vv/vzc9c3TzB5FUKIHoJRKer4W8rJAVyYW6sUPF6APqxEqA2z+U+; 5:81EeSjTFTMaAv8olDzx54ZpNk9YsceepVttYAQ/JNdV4ZwdgbK/Rzl46nh0/HruVU3/RS5xFIiG/y8ptLdV6oS2pBAvHGWECC/J/QnfzAaEXBMIuvRJq206q/OqGrAxjKfwca5DUPrWyPmuAj3sW3hC9l+ur5X8HIa6ngFxhuWU=; 24:5IpTb9nB5PbqGCiQxBgIP2wyScE6Irqj219CiGJKnqJ947HGcJAvd6zFI3n4Nu/qNT8H88bc2UcE2mGbQyLdpVGV5nbQhjjt0WS9DveGseE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 7:GpNCweSzbntETKlUHPS1tLGieIqpjsWT/Axr5PrYwGimpuBb4b3gMjdB+BEGuVa5oLOAibEGNebtWGryWcE8KvGgqPDUU6R+t25Pd2vagqaC3mgRZxWG/yYOXFsgh12hqECkszHqUpTg/SsX9ddb8jONbG5gzSfEeTsP0JC7+0Kdq9bnOpaHHtllrEdRzZYi7jtEGgUaW8gd9r5H+GaQ8y7alO0RkFLwBvxJbtw3Y8mQmLqJxbmVe0obatDAjOfEQbckWXomynxnF8TTahRsN2hTlQ9gAMUmJCZDq9lHYOTs4otQlFASQXoegLlsVaegPijRRc6mxuZl5paM8//7qmCU+2P0m2kI4yOad3YMiy0=; 20:Y33WxvULYG1weQAlSzug2sYkhwtZpNsr132DQ0m10nLNcaSTJFu+DIHp9K0NtKm0cw7Oe8s0gMDHjK0b0fHqZmWK79n51VTBWT5HTylkWvE5qgtGAgAeY94tA2VScnWwXkBIx2BsMT5ypDQwLK7MQYTfbns9evvez71PVUn8He8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2016 23:48:26.3525 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB836 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 Update the build scripts and infrastructure for the pvrdma user library. Signed-off-by: Adit Ranadive --- CMakeLists.txt | 1 + MAINTAINERS | 6 ++++++ README.md | 1 + providers/pvrdma/CMakeLists.txt | 6 ++++++ 4 files changed, 14 insertions(+) create mode 100644 providers/pvrdma/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index b3b3ff1..2010265 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -335,6 +335,7 @@ add_subdirectory(providers/mlx5) add_subdirectory(providers/mthca) add_subdirectory(providers/nes) add_subdirectory(providers/ocrdma) +add_subdirectory(providers/pvrdma) add_subdirectory(providers/qedr) add_subdirectory(providers/rxe) add_subdirectory(providers/rxe/man) diff --git a/MAINTAINERS b/MAINTAINERS index d83de10..69ab1f9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -139,6 +139,12 @@ M: Devesh Sharma S: Supported F: providers/ocrdma/ +PVRDMA USERSPACE PROVIDER (for pvrdma.ko) +M: Adit Ranadive +L: pv-drivers@vmware.com +S: Supported +F: providers/pvrdma/ + QEDR USERSPACE PROVIDER (for qedr.ko) M: Ram Amrani M: Ariel Elior diff --git a/README.md b/README.md index 3a13042..fed8803 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ is included: - ib_mthca.ko - iw_nes.ko - ocrdma.ko + - pvrdma.ko - qedr.ko - rdma_rxe.ko diff --git a/providers/pvrdma/CMakeLists.txt b/providers/pvrdma/CMakeLists.txt new file mode 100644 index 0000000..8ba9a45 --- /dev/null +++ b/providers/pvrdma/CMakeLists.txt @@ -0,0 +1,6 @@ +rdma_provider(pvrdma + cq.c + pvrdma_main.c + qp.c + verbs.c +)