From patchwork Mon Sep 12 04:49:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adit Ranadive X-Patchwork-Id: 9325661 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 131C76048B for ; Mon, 12 Sep 2016 04:50:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09E4F28ACC for ; Mon, 12 Sep 2016 04:50:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F290828B13; Mon, 12 Sep 2016 04:50:30 +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=unavailable 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 9394328ACC for ; Mon, 12 Sep 2016 04:50:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755550AbcILEuX (ORCPT ); Mon, 12 Sep 2016 00:50:23 -0400 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:34191 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751712AbcILEuW (ORCPT ); Mon, 12 Sep 2016 00:50:22 -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; Sun, 11 Sep 2016 21:50:11 -0700 Received: from EX13-CAS-001.vmware.com (smtp-inbound.vmware.com [10.113.191.51]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id 40E6D184A3; Sun, 11 Sep 2016 21:50:21 -0700 (PDT) Received: from EX13-CAS-003.vmware.com (10.113.191.53) by EX13-MBX-000.vmware.com (10.113.191.20) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Sun, 11 Sep 2016 21:50:20 -0700 Received: from NAM03-BY2-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; Sun, 11 Sep 2016 21:50:20 -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=C4NrKATR1pNFl5TVOZzY7KAgrjDKS2ZgGOiWwCAWhsE=; b=bJQEg9xvf6+84v2EU4c/bBA74N8D8cGzXcBS0onROA3TU2ONhJwZKgeTXaVD7FKijJniEVe5qyZsMHENz5IzEk+ClXx28xNIHxMtUxT3hpYUZkppsUitVEXWzzpq3YQGKIiyd5KD1Vse/bkyG7vnZWdAqelI1IXD5Qe269gotNE= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=none action=none header.from=vmware.com; Received: from promb-2s-dhcp95-136.eng.vmware.com (208.91.1.34) by BLUPR0501MB836.namprd05.prod.outlook.com (10.141.251.150) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.619.3; Mon, 12 Sep 2016 04:50:18 +0000 From: Adit Ranadive To: , , CC: Adit Ranadive , , , , , , Subject: [PATCH v4 01/16] vmxnet3: Move PCI Id to pci_ids.h Date: Sun, 11 Sep 2016 21:49:11 -0700 Message-ID: <1473655766-31628-2-git-send-email-aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1473655766-31628-1-git-send-email-aditr@vmware.com> References: <1473655766-31628-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: 9f1850cd-bfd8-4d65-23bd-08d3dac84c3e X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 2:JVF+FqyAn1/Aqt/yEESavPuG46XoUiF7sya4156nlrjcQ2t/TbLMaeb9fOE1bpYQB6ogA5OiP+NW1dx3n+2c7SUS8p9Ai/AZ751MEvBBWSyN2DCqrUDRhN55IAfzIqL0rg7jLA7CPBiW1Uk4XXrdcIGAc8OX4za77aNE42DmoXArI6DNqqZbhoPkDqquQehR; 3:/3qx2LBDL8IywJ2zyO1q5PrKvYaT3oiJQWq+24Q2AOG8axkE+ABtjT15RBWoYbed7j6D7k1xe9kXx/M15ai+53C2KjhUz7TMmdJmp2yBE+gOygKXsdggY48X3NcJi2Nr X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 25:lQkVUUWveujBD3LgRkeRkxAVEb9t5F6+3V9vA6jZG1odtuaKRwWnJaKJgEV3hE9XEJIrANLYshL8hx/+VXrF8egJ+/IQ03BYPrAVtB8TW1gLyJAhH9BZYErBCYnQkHPZPQmw3UxkXXyKNanbV42nHG4WrPSDQI31hnzitTWaOkXhQbc0TfXZmcXFeJyfYJ6vLj7Id6g6cgINq1DyHs6AosbW66PLB7Iy/mN1CghifoMxKpFvY678hxfQ3jYH/YhcQuOybiD1q77+bvutPtoDVn4Oads2wX/n8PrVNuKTSI6WC0HR2ebswfX4zIpKn37W93IZ2OFEDL9gfhW79U44y/Rna3CwNa3HdXdje2nL1tDeyoaQqchLL2QaT9D5SMTU1hi2laGj8nOIJiMzz/hrf63qR6Xs3HJbqCVzGLXoaL8ByVhTb+44wNnj/9X6yS5eNdsyzH+z2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QK4KrPBYtO8anLuQrIbTbOHLNmEhDJN5be+QKi9GOjnZs33 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR0501MB836; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0501MB836; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 4:i2z2oV1HZYEWjJIcEt+RBDuwIkTQ1DsrCq/lgWqxeEfmQSFl46d6Tr6cqdOR0tJMwgZ5CKS/7PW3PnNw3Ij2YqsR281UX67M7O7HRoMm9H3HhBp60DmnafOjrJ7iUVqixMqIWzdqUrgcDX4uRL7iZ2+Wn2Py09AxD7GuG98CqrfeD1regAOgls1m6zKUSFRN0BzW2ZH5easOeHSwTNCgdjq9d+3j1Sma0TiR/SZFdLHM8udxHiEYVO+bpxWSM4chrzaDqTQohxLUrU3EkNHrI/8d11EEMYT+Sz9AKAaNe/f1/6AAL6X4qUVDN+1k5OjQdVj4U/GU4bPfQFmrwwFJFqj0PUgwU2abCBt1oKqXmSMb8QROprOygv/jUFELPNQey8qv7MBLfRND2pr52zcoLr3eYLKEwkFlx8Ws2HGsHRNWlOaIXgpxSpeaLsvK1jIR X-Forefront-PRVS: 006339698F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(66066001)(107886002)(4001430100002)(5003940100001)(36756003)(47776003)(189998001)(4001450100002)(87386001)(86362001)(48376002)(2201001)(50466002)(2906002)(50226002)(8676002)(81166006)(586003)(4326007)(7846002)(5660300001)(305945005)(42186005)(76176999)(7736002)(50986999)(6116002)(3846002)(4001520100001)(5001770100001)(19580405001)(33646002)(92566002)(19580395003)(2950100001)(77096005)(229853001)(7099028)(5001760100003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0501MB836; H:promb-2s-dhcp95-136.eng.vmware.com; FPR:; SPF:None; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0501MB836; 23:SQG9Diu6QZ61WRVea+1L0Eu7H1F6pPnzYNBUS+x9?= =?us-ascii?Q?LIDCq3qI26+tavHefixBdINB4B7hl3R3zTgsJ2MA6BBNGda9tFU6C3Narwpy?= =?us-ascii?Q?hkF3DRsKbxxNX244CoG2ez6P65A6r+CCkAvkHwsbXMyrIeAtIsL/TxuKM0DD?= =?us-ascii?Q?UfIDkjPJTZIa0o8/w6GqaWHwlKxqSelca0L5wzHX06M7/7abBeC0tdvX2KhB?= =?us-ascii?Q?qvz25ID0zJq9vmuWDNVtgdyufufHQyZqJJWFTxgW9DDiCP7mSbkbsm0gcN/r?= =?us-ascii?Q?Yhx+WHp6rjV2htc5GLBH/5DiINxEgwDYtFTS5liMcq0WnRpppg38tJ5uoz4m?= =?us-ascii?Q?VzSQmFCz1hptw1dRM8vorXNIDrHxb694Aa5/scJK7tCnGWcDbwjvZKpV4aRb?= =?us-ascii?Q?Az3JO5Q325Sn0hecPs+4v1BMd6zoQW/8U09L7+8wKk31qdpT9CjwQMGp4gUA?= =?us-ascii?Q?LQ4wzCAsHWYSfD1wSS5fuIDHTzKywBMgHESUU36dT0z90ogC3701vHzctbWp?= =?us-ascii?Q?fcS/mSLbcHKZ3NCpqMGSMU5LhTFGQ7tWOD9j1LZZsLfL5iq293s3WGW5NqFU?= =?us-ascii?Q?PSxBnIbkutNm57wUSd/y19g4nhMGE5gJcl7+ycB8vjzl/4rKf0+iUxQ4ZO3d?= =?us-ascii?Q?gAdsvDVryBqlLj+YPtuZrKcs74Y7/DPViOnsYxQOpU0sVkAEoPrRj259D5c1?= =?us-ascii?Q?jqDgLL4XGiIcRjp5SmgPaxVlHS7gWiApZLCaRF5bAkb4qjgPHI9HpAskkoAC?= =?us-ascii?Q?lX3u7Y9NgG3jYAfxQDF6OWnHmJp5GKZHU2PeFS7H7/Mrc438vQ93+5TvRxBf?= =?us-ascii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slTxTnR8x7RiKembs9tDsp/6FcBdTRJyXAUHpLCfzo1CjE+UVgqz3tjR/qJh0bRujJLb0s5PvPCannlO9g4jaCs4C5R4a9YFB6tStbltzTh2XzbSVmNm7dgXiPE5GvrUCo7tOqVXW+Hcq1VJi9oU3DdY8 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0501MB836; 20:wPyHThRBnE7f/hHbAsm+Zm3bB8h5GTuii3eMKj8VYajLJIccYSBP5n778zWjD69WQm8CBvyqqwyHFjK3ciQj8w7orshz3yVPf5ITiUdmmsXBSJ6eoljw6MKWSSFCW9aRRDbb1ouVqe4HbfpO/m35fOkRHRa53YmfOaW//f5BFwI= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2016 04:50:18.4707 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0501MB836 Received-SPF: None (EX13-EDG-OU-002.vmware.com: aditr@vmware.com does not designate permitted sender hosts) 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 The VMXNet3 PCI Id will be shared with our paravirtual RDMA driver. Moved it to the shared location in pci_ids.h. Suggested-by: Leon Romanovsky Signed-off-by: Adit Ranadive Acked-by: Bjorn Helgaas Reviewed-by: Yuval Shaia --- --- drivers/net/vmxnet3/vmxnet3_int.h | 3 +-- include/linux/pci_ids.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h index 74fc030..2bd6bf8 100644 --- a/drivers/net/vmxnet3/vmxnet3_int.h +++ b/drivers/net/vmxnet3/vmxnet3_int.h @@ -119,9 +119,8 @@ enum { }; /* - * PCI vendor and device IDs. + * Maximum devices supported. */ -#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 #define MAX_ETHERNET_CARDS 10 #define MAX_PCI_PASSTHRU_DEVICE 6 diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index c58752f..98bb455 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2251,6 +2251,7 @@ #define PCI_DEVICE_ID_RASTEL_2PORT 0x2000 #define PCI_VENDOR_ID_VMWARE 0x15ad +#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 #define PCI_VENDOR_ID_ZOLTRIX 0x15b0 #define PCI_DEVICE_ID_ZOLTRIX_2BD0 0x2bd0