From patchwork Wed Aug 3 23:27:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9262407 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 5C1926048B for ; Wed, 3 Aug 2016 23:48:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DED827FAB for ; Wed, 3 Aug 2016 23:48:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4226C28068; Wed, 3 Aug 2016 23:48:51 +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 9AF0927FAB for ; Wed, 3 Aug 2016 23:48:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933138AbcHCXst (ORCPT ); Wed, 3 Aug 2016 19:48:49 -0400 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:10218 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758474AbcHCXrg (ORCPT ); Wed, 3 Aug 2016 19:47:36 -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; Wed, 3 Aug 2016 16:27:46 -0700 Received: from EX13-CAS-002.vmware.com (ex13-cas-002.vmware.com [10.113.191.52]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id BC0B518596; Wed, 3 Aug 2016 16:28:30 -0700 (PDT) Received: from EX13-CAS-002.vmware.com (10.113.191.52) by EX13-MBX-021.vmware.com (10.113.191.41) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Wed, 3 Aug 2016 16:28:30 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (10.113.170.11) by EX13-CAS-002.vmware.com (10.113.191.52) with Microsoft SMTP Server (TLS) id 15.0.1156.6 via Frontend Transport; Wed, 3 Aug 2016 16:28: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=0ggkqeBcsDBX9JNO0SG8HwhmpN3/pGoHZwlezlt3K0Y=; b=Fs+tPcVcjVA3mJYky7hHWBG2QMwi94NfC+U0BnEykS5BLdOWF1duHwY9fp2SPuNXjnUC6LPp1SaYuP04+/LiJbe0p4NpbiU7gw4UqMxHaYx5ZyEsRKiInfXwdvhmdsHMtu3kuWexeivya1gza0Fp0gJ/PLDe1NKru9u3jzr9VJg= 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 SN2PR0501MB847.namprd05.prod.outlook.com (10.160.14.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Wed, 3 Aug 2016 23:28:27 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive , , , , Subject: [PATCH v3 13/15] IB/pvrdma: Add Kconfig and Makefile Date: Wed, 3 Aug 2016 16:27:42 -0700 Message-ID: <1470266864-16888-14-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470266864-16888-1-git-send-email-aditr@vmware.com> References: <1470266864-16888-1-git-send-email-aditr@vmware.com> MIME-Version: 1.0 X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: CY1PR12CA0084.namprd12.prod.outlook.com (10.163.230.52) To SN2PR0501MB847.namprd05.prod.outlook.com (10.160.14.145) X-MS-Office365-Filtering-Correlation-Id: 37ae8c67-c0b7-4d48-7070-08d3bbf5dfa7 X-Microsoft-Exchange-Diagnostics: 1; SN2PR0501MB847; 2:spSWar0MeM0zxjzVb9bNhd3t1NZlZWjjEe86xJuKulYQR3Pq9nqRwhQe1vF86tx2+kzGqTWkEeNR2Wm0hOD4vYq1CsXNPhhMBqjLSKpVdUK+1a45VPm4GMWBdSyzBD7XY7F6ImHLISOi9UfXTSvLj/7bCDiGRAm2XZ5QRGm4RBVsz5bXsiGjeKb0xzkKk6aD; 3:t1RgKZZmGRs7/oGGdJCG0qp6ruCPYREbmyuP3qX/5Xtu4edpXl34igh9FsKJA+8ixrLSfzJtH/kixuRaql9Hf1m5cK4dlAjOvoacwPJep6sagz/FtwpNtzr4C7q+9vS4; 25:JGBaeG/rqrsb7FE4LhRxptMu5VLwk92s9OLiWCGIYJ246zbUgVmFRrlhAFBC/A72xC23nNJB+XxbK/ruyd9bpwlwHe5jG37PLOqM261qcN3TJu72JrjEKnzyQVTRldYix5i65MYUnDedThO4RR7yDMUk81YlyaIfw5jUjfpd7tf2tg3K8TSb82UtUi+FYadDWq3ii6XRVr5Fo94ZoD0JBbEN1ga1sK047x1fyykiAljYPvG+epEoZmZ5PJmtvyyZ3qB13b5a9Dc0/DzFqCWoQ1HMstj6b2pdMKRVPm7S95sRUx0Xd2lOVafxtK3bzUOVKPHXEObNp1DP+HSa1DrGFHcNY+vrrATQ7ejtj4Qx4oU6ebOzn4ug9RGBrO6gF/dexMmJCRPZyN2ZG7Jpf3pdmA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR0501MB847; X-Microsoft-Exchange-Diagnostics: 1; SN2PR0501MB847; 31:bYdGyDRyl4LhFILaKY8J9BL3vy9NlEBx5ftzatT9vNvq5mR9QuM7K//psDq5r5n1/D+etktqNv2XWMyD1T7AMOcqSaa86dUZodl1e/CDl3e+GkqB9sdkxE7aaNQqs743CUl+CtlHS/dMgyL4iiOT1WoX+zFkTU1uD2K2A0rpsVExKvr+LE+r7rcO+0/ZdFJOSFwVihj3s4hye0yY/hW+6WADWeshpVsKytitr0jiNpE=; 20:L336mX/w3xKOP0bskutSIPgOgeWpfliRF7EFqlwQOmejZSgOzozLEikip7a8LOmo5s2W+7CuSFP8/P36EqhiiOdugxI04e3RjcTPSHJX20LUbur4EIlTYup5VpsDn1mKwk9LfxJ59rDyK9lv6TGx0h6vZu6GYb2H3Ko7UHJmVVfbhWsWZ46bVXfm1pJTmEYMpRc64euVNUELF2id0E3duR3FoAuqSN9YJhaAahRwCKEM2bfbB6yfo3308VysKpzc; 4:WRtZBfZuT54dX4WUM8IH+UYMHL3dhgZVz8eb3b6Eks+/vofhIqOZ7aj4W8NzNO3TRRjRacd72vd7eD5awCajkna5VGqEGrhJZ0XH8mSjXb1QaPPvh/L733xxdrBHMO/O5fTNQNEqDCmpkltcLwIa6YgxOXz9q6ucWA5uANkavr48jkVocV7Nc1jTehbyVNQ0MfW/TodG2MkASk/QYuVQcHCjDLRxnrDKC8J4u5HNal3Ao4eNI/Mz0QTPWpdr0tAn5kEhQ570V0gf0d45ChJqA7KQMLOuz8zAQWTpFx5nOPdjoR2wiLLsyFbw6dQhjyiEzbgNGzZqno8U+2+SVDy6nynMvrFeoXLlIQYvesT3o15+WnJxQZ80dTZbs8/xpa+Ljud5auIe5MP9NN9YJMfmf7XvWsRtMYpXcB+1dUDWkg8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:SN2PR0501MB847; BCL:0; PCL:0; RULEID:; SRVR:SN2PR0501MB847; X-Forefront-PRVS: 00235A1EEF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(4001450100002)(66066001)(106356001)(189998001)(33646002)(92566002)(107886002)(5001770100001)(77096005)(229853001)(48376002)(50466002)(101416001)(97736004)(2950100001)(42186005)(586003)(47776003)(68736007)(76176999)(50986999)(4001430100002)(2906002)(105586002)(7846002)(7736002)(305945005)(81156014)(50226002)(86362001)(81166006)(8676002)(6116002)(36756003)(3846002)(5003940100001)(19580405001)(19580395003)(2201001)(4326007)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR0501MB847; H:promb-2s-dhcp95-136.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; SN2PR0501MB847; 23:UoihrokbGxhY8udNB2bXBYLfz+BB6CaN48s90xq7?= =?us-ascii?Q?ya52oRh6lEWnjTkXpJcuqbfrMZygBIoCXy7hVEM+q85d3wRetkH2cffcsq3Y?= =?us-ascii?Q?Mn//Kn55fVG4j+yOlDgX8ZOkdg2iC+cavjLzyNOnNpBOeHzw8H226j3twRp4?= =?us-ascii?Q?8J6aNf+zm70DUEfYMQbh/KdFYgw23doS4BneV7KUapzZwGvcyMhlZ1y13kKr?= =?us-ascii?Q?YJX0oMWuvnqsElNDrjQyT4da4tDvHlJQjGQnLu10nSbevoTKm3M/YxVCOIMT?= =?us-ascii?Q?U9/h5ypt4eZvucIV69XtEbBGhi4iYR4IvoN223vqXDW9OSIL94DPNU568LrS?= =?us-ascii?Q?rJVD6KfPbYEVDihzN0yPV9S/pHgavhUE8omWqm2gsY/PyJHRR20k79kNqXHC?= =?us-ascii?Q?3ckW+gdi8SFhVY/tMgk3x/V5LKneq5gci/uqVCUyEd9yB9x+uJMbePT3atTB?= =?us-ascii?Q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Iix4hgwECfpbmz8wVdr/34zlzgBC+A2fvhQBn41mj+qxt8PwnPoGuPAAqK6IpOkrPyf+LwvOaKpDjFICfetRWi2c49dPnS3qZ4fNswf9kehX5bzejy/+J2M6xZ70RKZ332K9BYq4y2zs2Na91sevc72raWLXAg6ndH+U=; 5:REL8ySnOZrgryfzuOkKYRbX3EsL8CUngu1Aeqnnjn6OodeLcjLcfu7WzyYjcT3V8MfBg+QAtmSvF5i1JZGUJJluV+2K9ZAz5DYxeIu2YIgc27zKVgFD8bfWdvYHs84fH9DIjUhJnetTtNS3lk9DH+A==; 24:9erz+WcvOPVtY/VKicGB8KBbyt3iOeR+h+lYGxeZSkVLlu9wxpAcKzNZlxaCoPROKsUU7kv89MyeVQqXUgZhf/eZsuqZr9Jr30m3qPZIh10=; 7:wGOgr1e+bN6+wrXVM2ToDJMuOG2B4GMNA2qjvbsu3o694s43OOrA1EtV+E9YjL5F0oe6vva3OrzZ3ULs6xi3teFEgJtyyU6KiEJTFZ5HdxMaXWsnkz1ltX2XHyVu2mwoqo5fE50EWI5SAERfIT1wcQz6XF/YOeo6j4lIIcEib7/hgX6pRQGC3QyNFDCjfy7/jLodmBZhvnwdw6OMAcT0vRn1IrGhrq1Q1cnwnMJ++gTuaZpDoPj15bHf1Kp+mUep SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN2PR0501MB847; 20:FzZ6Cyr6ztAgCSXL1RGfxvhscrUdDfP3Oae9mMY0yRyzbANqZutIOUWySzcGJHOMWKZYzgtiQwNgojppwmeiejD6+WcSi/Z/lH5WGbK6Ij/yFABLKAzD+aU1EXtvK/okGsTv7Azlux5b78C2xfUKRDOlcDvZ6B0yzGgN5Mqoe7c= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2016 23:28:27.1327 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0501MB847 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 adds a Kconfig and Makefile for 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/hw/pvrdma/Kconfig | 8 ++++++++ drivers/infiniband/hw/pvrdma/Makefile | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 drivers/infiniband/hw/pvrdma/Kconfig create mode 100644 drivers/infiniband/hw/pvrdma/Makefile diff --git a/drivers/infiniband/hw/pvrdma/Kconfig b/drivers/infiniband/hw/pvrdma/Kconfig new file mode 100644 index 0000000..cefa441 --- /dev/null +++ b/drivers/infiniband/hw/pvrdma/Kconfig @@ -0,0 +1,8 @@ +config INFINIBAND_PVRDMA + tristate "VMware Paravirtualized RDMA Driver" + depends on NETDEVICES && ETHERNET && PCI && INET + select VMXNET3 + ---help--- + This driver provides low-level support for VMware Paravirtual + RDMA adapter. It interacts with the VMXNet3 driver to provide + Ethernet capabilities. diff --git a/drivers/infiniband/hw/pvrdma/Makefile b/drivers/infiniband/hw/pvrdma/Makefile new file mode 100644 index 0000000..e6f078b --- /dev/null +++ b/drivers/infiniband/hw/pvrdma/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_INFINIBAND_PVRDMA) += pvrdma.o + +pvrdma-y := pvrdma_cmd.o pvrdma_cq.o pvrdma_doorbell.o pvrdma_main.o pvrdma_misc.o pvrdma_mr.o pvrdma_qp.o pvrdma_verbs.o