Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379384

RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From KY Srinivasan <kys@microsoft.com>
Newsgroups linux.kernel
Subject RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)
Date Fri, 15 Apr 2016 02:30:02 +0200
Message-ID <rnZO2-2mQ-3@gated-at.bofh.it> (permalink)
References <rnXMd-UY-9@gated-at.bofh.it> <rnXMd-UY-11@gated-at.bofh.it> <rnXMd-UY-7@gated-at.bofh.it> <rnYyB-1x5-3@gated-at.bofh.it> <rnZuF-2eS-1@gated-at.bofh.it> <rnZuG-2eS-9@gated-at.bofh.it> <rnZEl-2in-1@gated-at.bofh.it> <rnZEl-2in-3@gated-at.bofh.it>
X-Original-To Alexander Duyck <alexander.duyck@gmail.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YxzGroZrkbiDSEz4dCcm6Kpnb7EYod/oM50fpxuK/qQ=; b=MUNquDUO0u61Ktg8OPym21MCcu2nUt0AOBXETzNyNmvyf/j5HWuu2HOcALGvgTRhj/Vd20RDeQAROQN7U9XXqLQjsOgu0sdDzPbtZfq4S00zVF4MTFgxJYoE3qz0NeIXMZzXo2w8ev9Jf18FGZhtZA5NoXF9Hju/6YnXpA56MW8=
Thread-Topic [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V)
Thread-Index AQHRlpts+oryt3hd40CVSJLdSLQij5+KFeQAgAABJWCAABEZAIAAACnAgAADawCAAADSQA==
Accept-Language en-US
Content-Language en-US
Authentication-Results gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=microsoft.com;
X-Originating-IP [2001:4898:80e8:7::386]
X-Ms-Office365-Filtering-Correlation-ID 91fc880c-510f-44a9-093c-08d364c49187
X-Microsoft-Exchange-Diagnostics 1;SN2PR03MB1919;5:M/kLADIzvaYQKiBPmXSo/SLZUcQq88+ytlNTQdwwIbKT7kVOvmkAOpx/rEtdggIHgspcFldCFa63qInx9/ggPBC2XdOBnk0hlBojL6z3D4kVqPoYHZdTYJD8Q5tgrQn6K1ajeYPj7s7bBZ9ct4Kt8g==;24:euurfV35IdfUk6f144l64A/xvqOIEn3fO81bL0PK0lBRPyTGbNOFtiGAgTsdhkKX8TwMBxMyXWXwh1oLIGfACwnm/Mp1zw1Oj5reKd//eLc=
X-Microsoft-Antispam UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB1919;
X-Microsoft-Antispam-Prvs <SN2PR03MB191960B44DD4943B20259450A0680@SN2PR03MB1919.namprd03.prod.outlook.com>
X-Exchange-Antispam-Report-Test UriScan:;
X-Exchange-Antispam-Report-Cfa-Test BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038);SRVR:SN2PR03MB1919;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB1919;
X-Forefront-Prvs 0913EA1D60
X-Forefront-Antispam-Report SFV:NSPM;SFS:(10019020)(6009001)(24454002)(377454003)(13464003)(76176999)(50986999)(11100500001)(54356999)(99286002)(106116001)(86612001)(122556002)(77096005)(81166005)(5004730100002)(5008740100001)(93886004)(86362001)(19580405001)(76576001)(19580395003)(10090500001)(5005710100001)(345774005)(8990500004)(10290500002)(10400500002)(5002640100001)(110136002)(5003600100002)(92566002)(189998001)(87936001)(2906002)(1220700001)(9686002)(33656002)(6116002)(2900100001)(2950100001)(586003)(4326007)(102836003)(1096002)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:SN2PR03MB1919;H:SN2PR03MB1919.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
Spamdiagnosticoutput 1:23
Spamdiagnosticmetadata NSPM
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
MIME-Version 1.0
X-Originatororg microsoft.com
X-Ms-Exchange-Crosstenant-Originalarrivaltime 15 Apr 2016 00:26:20.5879 (UTC)
X-Ms-Exchange-Crosstenant-Fromentityheader Hosted
X-Ms-Exchange-Crosstenant-ID 72f988bf-86f1-41af-91ab-2d7cd011db47
X-Ms-Exchange-Transport-Crosstenantheadersstamped SN2PR03MB1919
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
X-Original-Cc "Rustad, Mark D" <mark.d.rustad@intel.com>, David Miller <davem@davemloft.net>, netdev <netdev@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "devel@linuxdriverproject.org" <devel@linuxdriverproject.org>, "olaf@aepfle.de" <olaf@aepfle.de>, "apw@canonical.com" <apw@canonical.com>, "jasowang@redhat.com" <jasowang@redhat.com>, "eli@mellanox.com" <eli@mellanox.com>, "jackm@mellanox.com" <jackm@mellanox.com>, "yevgenyp@mellanox.com" <yevgenyp@mellanox.com>, "Ronciak, John" <john.ronciak@intel.com>, "intel-wired-lan@lists.osuosl.org" <intel-wired-lan@lists.osuosl.org>
X-Original-Date Fri, 15 Apr 2016 00:26:20 +0000
X-Original-Message-ID <SN2PR03MB191946453781944A4ABF37BDA0680@SN2PR03MB1919.namprd03.prod.outlook.com>
X-Original-References <1460678121-30308-1-git-send-email-kys@microsoft.com> <1460678142-30353-1-git-send-email-kys@microsoft.com> <1460678142-30353-2-git-send-email-kys@microsoft.com> <5F69AC74-16B9-4EAD-8B4B-21D2EB6B3653@intel.com> <SN2PR03MB1919133D2E9B5DDBC2AED643A0680@SN2PR03MB1919.namprd03.prod.outlook.com> <DA0F5562-FC38-4037-B018-42116DD142E8@intel.com> <SN2PR03MB19196E84DF934294DE7BB739A0680@SN2PR03MB1919.namprd03.prod.outlook.com> <CAKgT0UckBes1tNXrNjA0R4uCdXouG9qQrf+VaLJMd8AhgYQieQ@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1379384

Show key headers only | View raw



> -----Original Message-----
> From: Alexander Duyck [mailto:alexander.duyck@gmail.com]
> Sent: Thursday, April 14, 2016 5:19 PM
> To: KY Srinivasan <kys@microsoft.com>
> Cc: Rustad, Mark D <mark.d.rustad@intel.com>; David Miller
> <davem@davemloft.net>; netdev <netdev@vger.kernel.org>; linux-
> kernel@vger.kernel.org; devel@linuxdriverproject.org; olaf@aepfle.de;
> apw@canonical.com; jasowang@redhat.com; eli@mellanox.com;
> jackm@mellanox.com; yevgenyp@mellanox.com; Ronciak, John
> <john.ronciak@intel.com>; intel-wired-lan@linuxonhyperv.com
> Subject: Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts
> (Hyper-V)
> 
> On Thu, Apr 14, 2016 at 5:11 PM, KY Srinivasan <kys@microsoft.com> wrote:
> >
> >
> >> -----Original Message-----
> >> From: Rustad, Mark D [mailto:mark.d.rustad@intel.com]
> >> Sent: Thursday, April 14, 2016 5:07 PM
> >> To: KY Srinivasan <kys@microsoft.com>
> >> Cc: David Miller <davem@davemloft.net>; netdev
> >> <netdev@vger.kernel.org>; linux-kernel@vger.kernel.org;
> >> devel@linuxdriverproject.org; olaf@aepfle.de; apw@canonical.com;
> >> jasowang@redhat.com; eli@mellanox.com; jackm@mellanox.com;
> >> yevgenyp@mellanox.com; Ronciak, John <john.ronciak@intel.com>;
> intel-
> >> wired-lan@linuxonhyperv.com
> >> Subject: Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts
> >> (Hyper-V)
> >>
> >> KY Srinivasan <kys@microsoft.com> wrote:
> >>
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: Rustad, Mark D [mailto:mark.d.rustad@intel.com]
> >> >> Sent: Thursday, April 14, 2016 4:01 PM
> >> >> To: KY Srinivasan <kys@microsoft.com>
> >> >> Cc: David Miller <davem@davemloft.net>; netdev
> >> >> <netdev@vger.kernel.org>; linux-kernel@vger.kernel.org;
> >> >> devel@linuxdriverproject.org; olaf@aepfle.de; apw@canonical.com;
> >> >> jasowang@redhat.com; eli@mellanox.com; jackm@mellanox.com;
> >> >> yevgenyp@mellanox.com; Ronciak, John <john.ronciak@intel.com>;
> >> intel-
> >> >> wired-lan@linuxonhyperv.com
> >> >> Subject: Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows
> hosts
> >> >> (Hyper-V)
> >> >>
> >> >> Some comments below:
> >> >
> >> > Mark,
> >> >
> >> > Thank you for the comments. I will address them and repost the
> patches.
> >> >
> >> > Regards,
> >> >
> >> > K. Y
> >>
> >> Please look closely at Alex's comments. I think they are much more
> >> important.
> >
> > I am looking at Alex's comments as I am writing this.
> >
> 
> On additional thought that just occurred to me after looking over the
> other patches you submitted for the hv_netvsc is that you might just
> stub out the multicast, unicast, and vfta configuration calls for the
> hyperV interface since all that stuff should be handled by the other
> link in the bond anyway.  Then you should be able to mostly contain
> all the changes other than the device IDs to the vf.c file which is
> really how this kind of change should work anyway.

I will do that.
> 
> Also I was wondering.  Since HyperV is using a proprietary device ID
> anyway do you really need the calls like the one below?:
> +       if (x86_hyper == &x86_hyper_ms_hyperv) {
> 
> If we can just identify HyperV via the device Id then we could drop
> the x86 arch specific bits and instead just build for all cases.
Yes; I was planning to get rid of the x86 dependency. I will fix this.

K. Y
> 
> - Alex

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-15 00:20 +0200
  Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) "Rustad, Mark D" <mark.d.rustad@intel.com> - 2016-04-15 01:10 +0200
    RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-15 02:10 +0200
      Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) "Rustad, Mark D" <mark.d.rustad@intel.com> - 2016-04-15 02:10 +0200
        RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-15 02:20 +0200
          Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) Alexander Duyck <alexander.duyck@gmail.com> - 2016-04-15 02:20 +0200
            RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-15 02:30 +0200
          Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) "Rustad, Mark D" <mark.d.rustad@intel.com> - 2016-04-15 02:20 +0200
  Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) Alexander Duyck <alexander.duyck@gmail.com> - 2016-04-15 01:20 +0200
    RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-15 04:50 +0200
      Re: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts (Hyper-V) Alexander Duyck <alexander.duyck@gmail.com> - 2016-04-15 17:40 +0200
        RE: [PATCH net-next 2/2] intel: ixgbevf: Support Windows hosts  (Hyper-V) KY Srinivasan <kys@microsoft.com> - 2016-04-15 18:10 +0200

csiph-web