From patchwork Tue Jul 12 19:36:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9226085 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 5252B60868 for ; Tue, 12 Jul 2016 19:38:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FC9D27C38 for ; Tue, 12 Jul 2016 19:38:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 346ED27DCD; Tue, 12 Jul 2016 19:38:12 +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 B544927C38 for ; Tue, 12 Jul 2016 19:38:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684AbcGLTiF (ORCPT ); Tue, 12 Jul 2016 15:38:05 -0400 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]:59075 "EHLO smtp-outbound-1.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbcGLTiD (ORCPT ); Tue, 12 Jul 2016 15:38:03 -0400 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id B585F98216; Tue, 12 Jul 2016 12:37:51 -0700 (PDT) Received: from EX13-CAS-005.vmware.com (ex13-cas-005.vmware.com [10.113.191.55]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 8028E4045A; Tue, 12 Jul 2016 12:37:52 -0700 (PDT) Received: from EX13-MBX-036.vmware.com (10.113.191.77) by EX13-MBX-005.vmware.com (10.113.191.25) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 12 Jul 2016 12:37:50 -0700 Received: from EX13-CAS-003.vmware.com (10.113.191.53) by EX13-MBX-036.vmware.com (10.113.191.77) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 12 Jul 2016 12:37:50 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (10.113.170.11) by EX13-CAS-003.vmware.com (10.113.191.53) with Microsoft SMTP Server (TLS) id 15.0.1156.6 via Frontend Transport; Tue, 12 Jul 2016 12:37:50 -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=sIOUutUdpBqpAzYIvWSQFdjXhSs826MIbiSo4fUqbnI=; b=lLZoKLCx6liCgb8Z4dPyW5TVbxpqo/h9UxEm4jEjiyjE4qk4hr0DNIKGrYZjEwz2Q+lJdHZAZMbA2xKapa0xxVmGeMKAVlJ0qEgsjhTdRgX/DAmrgex6lsIJJjFQioZNkQqqRuLf23IbbBu0pM73A+hWQ3aSHOXhF8ObNx3D4yI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aditr@vmware.com; Received: from promb-2s-dhcp95-136.eng.vmware.com (208.91.1.34) by BLUPR0501MB834.namprd05.prod.outlook.com (10.141.251.148) with Microsoft SMTP Server (TLS) id 15.1.539.14; Tue, 12 Jul 2016 19:37:45 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive , , , , Subject: [PATCH v2 14/15] IB: Add PVRDMA driver Date: Tue, 12 Jul 2016 12:36:44 -0700 Message-ID: <1468352205-9137-15-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468352205-9137-1-git-send-email-aditr@vmware.com> References: <1468352205-9137-1-git-send-email-aditr@vmware.com> MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: SN1PR10CA0055.namprd10.prod.outlook.com (10.164.10.151) To BLUPR0501MB834.namprd05.prod.outlook.com (10.141.251.148) X-MS-Office365-Filtering-Correlation-Id: 11230aaa-61bc-49cb-b98f-08d3aa8c008a X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB834; 2:Gsv4iDiJy8vTArJakUFnMNhfZCEU0HG26StPeBo1skiq24aaV0/ujr6rEEzGsX/R9sZRLZmCv95N1nvmx7ZA66zS0RgeYHJzgbQyITNdpk3kkVaL4KQOFMtyXHD6YQCqH/SBLnBkzYUG82HYua5bH6MLrHYJAd1V/HQZ9JC6iOzklwP2zfc9V325CFtwtN1R; 3:LOIuJKbEtYTn6W89BYL3qpl0yy60G/cekLkfvYxhh2MzrZja4I7umJg1X0QRi6piERu0V/jnBMcaco6bcUCDQSP3fk5e6eB6gm7hg6LvoLFV9VsbTZqpkWfIX7tVkxVK X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB834; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB834; 25:DKhqk2qU4RjwhU5KPlkHzVzz1R9yvOqr7TcKsxhSptSki3vAPltXHc/D0T95fJkvZAu6nbYNfaZHtDWAMGUcgXCB61GftT0tJzK5Q6DKeVl5w+asRzWtunYbnLjubq4yL2+gOOWa4HfBlohrDPZ8jDgKrjjnMlyEkdrf+iKG8T38y9iSZJD7P23qiqb60gepKA01aFeRJP/QCAcBsEsqizAIJ7YHz1Tj4iLwv1xT2PEyeFChC3J6gav8ukS1lC44RAdKEcnNqGLzUuv16jq5DRgpv9eilh22krJdiYCHCqLLOTSOuAtaO4EwY0Gj6NpaQUwU68O2TAsXUrhIc2mSTF3UGfPsJE6pEuM/Vs3VWhXJSrf8k9dzxIIXWGZPYlJyvKmuolwCZhZHjSgspURvGv4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qjcu6qq+LII428sjuML4CCG0Irr797XAcxkNPFyJnJo4lBtjTWwWggRWcQXpZAuflJJFEs9aMiE9StB4eSAI0CFDE1EL1+3MgcgP1eb9ZdocYj306fEBez/QgKBJI0N3Z/5sBPp2yhOETdjg36hHK+WAxVoz+d9VkokrOkvad2DlHgaodAUjKE8xPKTw8/GJAM5yc8pU+H9btLJnJg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR0501MB834; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB834; X-Forefront-PRVS: 0001227049 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(305945005)(575784001)(7736002)(50226002)(86362001)(4326007)(2906002)(42186005)(7846002)(68736007)(33646002)(229853001)(106356001)(50986999)(586003)(3846002)(2201001)(6116002)(97736004)(81166006)(81156014)(48376002)(36756003)(5003940100001)(19580395003)(19580405001)(47776003)(2950100001)(77096005)(66066001)(50466002)(4001450100002)(4001430100002)(101416001)(92566002)(189998001)(76176999)(105586002)(8676002)(107886002)(5001770100001)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0501MB834; H:promb-2s-dhcp95-136.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0501MB834; 23:RtSXOVoeZbjZlqAyQeQSxO681t4YivTsqXEAEQi1?= =?us-ascii?Q?uzX0IrVAUR+FbfZ9LkEtmE2AwNVkCw2o34Ja9N2NxvbncQxRm1WV1RxFcnGt?= =?us-ascii?Q?TC7Ke6B6j5cM6q3XNsenjfnVja7D76Vx8X82LDQkndUG4oUDDpY0aIgwMix7?= =?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w+ooIKTgl9BZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB834; 20:6DlqPE9JwjK7FYpHEWyB6FyQ7xQ9OgLSvOMNTSV2l/DPeZpWRX+uBgm6s6ZT1m9BGTplljct1ofubUl54AeDVXTdLuZDtgodLtfeLIMehbQdeKWQ25KvaytmM25NSHDgDiDxksMrAVjsp76pJBZ430hTcab+gIitkhRGKL31W4I= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2016 19:37:45.9798 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB834 X-OriginatorOrg: vmware.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 This patch updates the InfiniBand subsystem to build the PVRDMA driver. Reviewed-by: Jorgen Hansen Reviewed-by: George Zhang Reviewed-by: Aditya Sarwade Reviewed-by: Bryan Tan Signed-off-by: Adit Ranadive --- drivers/infiniband/Kconfig | 1 + drivers/infiniband/hw/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 2137adf..d677d8f 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -86,5 +86,6 @@ source "drivers/infiniband/ulp/isert/Kconfig" source "drivers/infiniband/sw/rdmavt/Kconfig" source "drivers/infiniband/hw/hfi1/Kconfig" +source "drivers/infiniband/hw/pvrdma/Kconfig" endif # INFINIBAND diff --git a/drivers/infiniband/hw/Makefile b/drivers/infiniband/hw/Makefile index c0c7cf8..eb24449 100644 --- a/drivers/infiniband/hw/Makefile +++ b/drivers/infiniband/hw/Makefile @@ -9,3 +9,4 @@ obj-$(CONFIG_INFINIBAND_NES) += nes/ obj-$(CONFIG_INFINIBAND_OCRDMA) += ocrdma/ obj-$(CONFIG_INFINIBAND_USNIC) += usnic/ obj-$(CONFIG_INFINIBAND_HFI1) += hfi1/ +obj-$(CONFIG_INFINIBAND_PVRDMA) += pvrdma/