Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761274AbcLBPko (ORCPT ); Fri, 2 Dec 2016 10:40:44 -0500 Received: from mail-by2nam01on0120.outbound.protection.outlook.com ([104.47.34.120]:18735 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751554AbcLBPjZ (ORCPT ); Fri, 2 Dec 2016 10:39:25 -0500 From: KY Srinivasan To: Greg KH CC: "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "olaf@aepfle.de" , "apw@canonical.com" , "vkuznets@redhat.com" , "jasowang@redhat.com" , "leann.ogasawara@canonical.com" , Haiyang Zhang Subject: RE: [PATCH 02/15] hyperv: Add a function to detect hv_device Thread-Topic: [PATCH 02/15] hyperv: Add a function to detect hv_device Thread-Index: AQHSS+hcRHtOOpPMlEiibc7N0eIJt6DzjS2AgACaP1CAABDUgIAAAKewgAAMzQCAAIJ0gA== Date: Fri, 2 Dec 2016 15:38:51 +0000 Message-ID: References: <1480613287-7748-1-git-send-email-kys@exchange.microsoft.com> <1480613332-7788-1-git-send-email-kys@exchange.microsoft.com> <1480613332-7788-2-git-send-email-kys@exchange.microsoft.com> <20161201203547.GB1602@kroah.com> <20161202064805.GA19267@kroah.com> <20161202073614.GA21628@kroah.com> In-Reply-To: <20161202073614.GA21628@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; x-originating-ip: [50.135.110.52] x-microsoft-exchange-diagnostics: 1;BLUPR03MB1412;7:mcRVVYvKbuFzpr+2Z9o4oIKESVrMBJfoXUdAv9KxH7zNMqBWmL/2K22WkUAq1Hmc3YMX2Ul+7BVC+ZR3DMay4XfZiyPfCrIzJfGoGlYubqFbBiBVTuFSn4GSaAbUsyFG9WFQaUU6L46k4VYDTKUrZ0qSsJHg5ql8rsTyHU9Er0tfVa+zAsMKin044oyO0vjss4tJbdkB26L/011KFCQximvzh9+LYtm5AmMQjSL2bl+b8hSL5Zy84DwX3n4am2CP3JGQWhvUd07/9ryKDsQP7n6+V60SF4fBYNB/CiJRBnwUus4coYd2QU/LyAsJcItAcifP05BDDZx3YBOVVyeZT/OHkvb7HLXtv2p12uTMhSa7IKLFv/0Z4gU0pxxykDWL x-ms-office365-filtering-correlation-id: 27f812f8-8ddb-4c2e-0914-08d41ac95154 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BLUPR03MB1412; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(198206253151910); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148)(6047074);SRVR:BLUPR03MB1412;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1412; x-forefront-prvs: 0144B30E41 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(189002)(13464003)(199003)(377454003)(24454002)(77096006)(6506004)(39450400002)(107886002)(66066001)(3846002)(102836003)(6116002)(38730400001)(74316002)(33656002)(68736007)(93886004)(5660300001)(7846002)(7736002)(305945005)(39410400001)(6916009)(86362001)(8676002)(8990500004)(8936002)(106116001)(86612001)(2950100002)(106356001)(2906002)(105586002)(99286002)(10290500002)(4326007)(9686002)(122556002)(81166006)(81156014)(3280700002)(229853002)(54356999)(92566002)(50986999)(3660700001)(76176999)(101416001)(4001430100002)(10090500001)(2900100001)(97736004)(76576001)(7696004)(110136003)(5005710100001)(189998001);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB1412;H:DM5PR03MB2490.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2016 15:38:51.9101 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1412 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id uB2Fetbo003386 Content-Length: 1176 Lines: 35 > -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Thursday, December 1, 2016 11:36 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org; > olaf@aepfle.de; apw@canonical.com; vkuznets@redhat.com; > jasowang@redhat.com; leann.ogasawara@canonical.com; Haiyang Zhang > > Subject: Re: [PATCH 02/15] hyperv: Add a function to detect hv_device > > On Fri, Dec 02, 2016 at 07:14:03AM +0000, KY Srinivasan wrote: > > > In other words, why do you need this and PCI or USB doesn't? Why is > > > hyperv "special"? > > > > On Hyper-V, each VF interface (SR-IOV interface) > > is paired with an instance of the > > synthetic interface that is managed by netvsc. > > When the VF interface comes up, we > > need to associate the VF instance with > > the corresponding netvsc instance. To do this > > without modifying the VF drivers, netvsc registers > > for netdev events. > > Why not modify the VF drivers? You have the full source to them... Greg, This is even worse. On Linux, VF drivers are hypervisor agnostic and I want to keep it that way. Regards, K. Y