Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752999AbcLFPMo (ORCPT ); Tue, 6 Dec 2016 10:12:44 -0500 Received: from mail-sn1nam01on0111.outbound.protection.outlook.com ([104.47.32.111]:45235 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752458AbcLFPMm (ORCPT ); Tue, 6 Dec 2016 10:12:42 -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 V2 15/15] hyperv: Add a function to detect if the device is a vmbus dev Thread-Topic: [PATCH V2 15/15] hyperv: Add a function to detect if the device is a vmbus dev Thread-Index: AQHSTZSi3RXtK5MGFkGUQ+oAT4EuzaD6wvUAgABEGtA= Date: Tue, 6 Dec 2016 14:58:13 +0000 Message-ID: References: <1480797239-10085-1-git-send-email-kys@exchange.microsoft.com> <1480797282-10126-1-git-send-email-kys@exchange.microsoft.com> <1480797282-10126-15-git-send-email-kys@exchange.microsoft.com> <20161206105404.GA19472@kroah.com> In-Reply-To: <20161206105404.GA19472@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: [2601:600:8c00:1040:bd2a:13b6:5bd1:6051] x-ms-office365-filtering-correlation-id: d7e58bad-2d6d-4826-dcb9-08d41de84d69 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN3PR03MB1414; x-microsoft-exchange-diagnostics: 1;BN3PR03MB1414;7:mQxqMJIATtxtkNfNCJnDTcKwhW/P3QkOM4+Xo81nnZP9i632vuR5hnOIFQaon/ydtX0oDtdFmtSLghcnCWUUTaq/VRZ7dfby59SKu3cbdNR8Oml497OF/gHJiZbuy0pwa8jA2aMKeBgl7lODTAQo7AOPQGlfXOmQ25Zb2rCiB1DfjCGjS44yaSexQX1DVuWHQTlVYq2F7gDO5zqs5JpvsFtzM9w2xDmnxWaAHNoe2y/z9IkmXjNyu4/I5Vbd7GgO3LJfNDb1vKeKRN5UUEewPpWLSJ6ld3VQmXC6dHTcYzpLONoAYaO7AcEf9fLIielKulj6rPJA9jB9h2QXBsSdfgmdMSxUxRbucKyw8OCyQXZ4odQTXgG0SihIA08FUwjI3Gz8KQGPA/gcd78cQvB2Ln9cNSMMELDXO7JByncL0KzEp2M5B5xfH8LfPto6ZOcI/E2ixCeKOIM3mWTZBoQA+W0nrqRWukUvVJ1FkrkW1z8= x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(140211028294663)(198206253151910); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123555025)(6072148)(6047074);SRVR:BN3PR03MB1414;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1414; x-forefront-prvs: 01480965DA x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(40224003)(199003)(13464003)(377454003)(24454002)(189002)(77096006)(2906002)(3660700001)(39450400002)(7846002)(7696004)(229853002)(9686002)(6506006)(76576001)(2900100001)(39840400001)(92566002)(189998001)(2950100002)(86362001)(74316002)(39860400001)(39410400001)(10090500001)(38730400001)(3280700002)(10290500002)(6116002)(81166006)(97736004)(106356001)(110136003)(33656002)(93886004)(101416001)(68736007)(102836003)(122556002)(86612001)(105586002)(106116001)(305945005)(50986999)(39850400001)(6916009)(5005710100001)(5660300001)(81156014)(99286002)(8936002)(107886002)(8990500004)(7736002)(54356999)(4326007)(8676002)(76176999)(4001430100002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR03MB1414;H:DM5PR03MB2490.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX: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: 06 Dec 2016 14:58:13.1411 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1414 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 uB6FDdI6019028 Content-Length: 1406 Lines: 39 > -----Original Message----- > From: Greg KH [mailto:gregkh@linuxfoundation.org] > Sent: Tuesday, December 6, 2016 2:54 AM > 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 V2 15/15] hyperv: Add a function to detect if the device > is a vmbus dev > > On Sat, Dec 03, 2016 at 12:34:42PM -0800, kys@exchange.microsoft.com > wrote: > > From: Haiyang Zhang > > > > On Hyper-V, every VF interface has a corresponding synthetic > > interface managed by netvsc that share the same MAC > > address. netvsc registers for netdev events to manage this > > association. Currently we use the MAC address to manage this > > association but going forward, we want to use a serial number that > > the host publishes. To do this we need functionality similar > > to dev_is_pci() for the vmbus devices. Implement such a function. > > > > This function will be used in subsequent patches to netvsc and in the > > interest of eliminating cross tree dependencies, this patch is being > > submitted first. > > As I stated before, I want to see those patches before I will take this > one... Thanks Greg; we will send you the patches. K. Y > > thanks, > > greg k-h