[PATCH net-next] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-07 Thread Haiyang Zhang
This change ensures the driver can be built successfully without the CONFIG_SYSFS flag. MS-TFS: 182270 Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |2 ++ drivers/net/hyperv/netvsc_drv.c | 12

RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c

2014-05-07 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, May 2, 2014 3:19 PM To: Haiyang Zhang Cc: jim.ep...@gmail.com; s...@canb.auug.org.au; linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; KY Srinivasan; de...@linuxdriverproject.org; net

RE: [PATCH net-next] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Thursday, May 8, 2014 5:13 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker...@vger.kernel.org Subject: Re

[PATCH net-next,v2] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
This change ensures the driver can be built successfully without the CONFIG_SYSFS flag. MS-TFS: 182270 Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 28 drivers/net

RE: [PATCH net-next] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Thursday, May 8, 2014 3:07 PM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker...@vger.kernel.org Subject: Re

RE: [PATCH net-next, v2] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Thursday, May 8, 2014 4:04 PM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker...@vger.kernel.org Subject: Re

RE: [PATCH net-next,v2] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Thursday, May 8, 2014 4:45 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

[PATCH net-next,v3] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-08 Thread Haiyang Zhang
This change ensures the driver can be built successfully without the CONFIG_SYSFS flag. MS-TFS: 182270 Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c |5 + 1 files changed, 1 insertions(+), 4

RE: [PATCH net-next,v2] Add support for netvsc build without CONFIG_SYSFS flag

2014-05-11 Thread Haiyang Zhang
From: Ben Hutchings b...@decadent.org.uk Sent: Sunday, May 11, 2014 9:07 AM To: Haiyang Zhang I think most other drivers have a 1-1 mapping between hardware RX queues and the RX queue indices reported to Linux. It appears that in this case

[PATCH net-next] Add hash value into RNDIS Per-packet info

2014-05-21 Thread Haiyang Zhang
It passes the hash value as the RNDIS Per-packet info to the Hyper-V host, so that the send completion notices can be spread across multiple channels. MS-TFS: 140273 Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |4 drivers/net/hyperv

RE: [PATCH net-next] Add hash value into RNDIS Per-packet info

2014-05-23 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, May 23, 2014 2:50 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

request for backporting commit 99d3016de4 to 3.14 (stable)

2014-05-27 Thread Haiyang Zhang
Hi Dave, I found this commit is in stable tree already. Will it be backported into 3.14 as well? Otherwise, can we request it to be included into the next 3.14 update?

RE: Regression in hyperv network driver in 3.14

2014-05-27 Thread Haiyang Zhang
-Original Message- From: Bernhard Walle [mailto:bernh...@bwalle.de] Sent: Tuesday, May 27, 2014 10:42 AM To: KY Srinivasan Cc: Haiyang Zhang; linux-kernel@vger.kernel.org Subject: RE: Regression in hyperv network driver in 3.14 Am 2014-05-27 15:43, schrieb KY Srinivasan: Can

RE: [PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-20 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, January 14, 2014 5:32 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-09 Thread Haiyang Zhang
This will allow us to use bigger receive buffer, and prevent allocation failure due to fragmented memory. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c| 14 -- drivers/net/hyperv

[PATCH net-next] hyperv: Add support for Virtual Receive Side Scaling (vRSS)

2013-12-18 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 159

RE: [PATCH net] net: hyperv: initialize link status correctly

2014-01-27 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, January 27, 2014 2:31 AM To: KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: Jason Wang Subject: [PATCH net] net: hyperv: initialize

RE: [PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-27 Thread Haiyang Zhang
-Original Message- From: KY Srinivasan Sent: Monday, January 20, 2014 5:11 PM To: Haiyang Zhang; David Miller Cc: net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; linux- ker...@vger.kernel.org; driverdev-de...@linuxdriverproject.org Subject: RE: [PATCH net-next] hyperv

RE: [PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-27 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, January 27, 2014 4:51 PM To: Haiyang Zhang Cc: KY Srinivasan; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next] hyperv: Add support for physically discontinuous receive buffer

2014-01-27 Thread Haiyang Zhang
This will allow us to use bigger receive buffer, and prevent allocation failure due to fragmented memory. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c| 14 -- drivers/net/hyperv

RE: [PATCH net] netvsc: don't flush peers notifying work during setting mtu

2013-12-13 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Friday, December 13, 2013 4:21 AM To: KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: Jason Wang Subject: [PATCH net] netvsc: don't flush

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-25 Thread Haiyang Zhang
-Original Message- From: Haiyang Zhang [mailto:haiya...@microsoft.com] Sent: Friday, March 21, 2014 4:44 PM To: da...@davemloft.net; net...@vger.kernel.org Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev-de

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-25 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, March 25, 2014 8:47 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-26 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, March 25, 2014 11:50 PM To: Haiyang Zhang Cc: David Miller; o...@aepfle.de; net...@vger.kernel.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker...@vger.kernel.org

RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c

2014-05-02 Thread Haiyang Zhang
-Original Message- From: Jim Davis [mailto:jim.ep...@gmail.com] Sent: Friday, May 2, 2014 9:56 AM To: Stephen Rothwell; linux-next; linux-kernel; KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org; netdev Subject: randconfig build error with next-20140502, in drivers/net

RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c

2014-05-02 Thread Haiyang Zhang
-Original Message- From: KY Srinivasan Sent: Friday, May 2, 2014 11:00 AM To: Haiyang Zhang; Jim Davis; Stephen Rothwell; linux-next; linux-kernel; de...@linuxdriverproject.org; netdev Subject: RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c

RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c

2014-05-02 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, May 2, 2014 3:19 PM To: Haiyang Zhang Cc: jim.ep...@gmail.com; s...@canb.auug.org.au; linux- n...@vger.kernel.org; linux-kernel@vger.kernel.org; KY Srinivasan; de...@linuxdriverproject.org; net

[PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-03 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 110 +- drivers/net

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-03 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Thursday, April 3, 2014 11:15 AM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-07 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 110 +- drivers/net

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-08 Thread Haiyang Zhang
-Original Message- From: Sharat Masetty [mailto:shara...@gmail.com] Sent: Monday, April 7, 2014 6:13 PM To: David Miller Cc: Haiyang Zhang; Linux Netdev List; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-21 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 110 +- drivers/net

[PATCH net-next,2/2] hyperv: Simplify the send_completion variables

2014-04-21 Thread Haiyang Zhang
The union contains only one member now, so we use the variables in it directly. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 10 +++--- drivers/net/hyperv/netvsc.c |7 +++ drivers

[PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
, and the related lock for this list is also removed. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 33 --- drivers/net/hyperv/netvsc.c | 174 +++-- drivers/net

[PATCH net-next,v2,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
, and the related lock for this list is also removed. The is_data_pkt field is not used in receive path, so its assignment is cleaned up. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 33 --- drivers/net

[PATCH net-next,v2,2/2] hyperv: Simplify the send_completion variables

2014-04-21 Thread Haiyang Zhang
The union contains only one member now, so we use the variables in it directly. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 10 +++--- drivers/net/hyperv/netvsc.c |7 +++ drivers

RE: [PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock

2014-04-21 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, April 21, 2014 2:57 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

RE: [PATCH net-next,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-04-17 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, April 7, 2014 2:43 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

RE: [PATCH v3] hyperv: Add netpoll support

2014-07-09 Thread Haiyang Zhang
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Wednesday, July 9, 2014 10:24 AM To: KY Srinivasan; Haiyang Zhang Cc: sergei.shtyl...@cogentembedded.com; rom...@fr.zoreil.com; de...@linuxdriverproject.org; net...@vger.kernel.org; linux- ker

RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-11 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Friday, July 11, 2014 1:53 AM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; net...@vger.kernel.org Subject: Re: [BISECTED][REGRESSION

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, June 23, 2014 9:17 AM To: Haiyang Zhang Cc: Greg KH; net...@vger.kernel.org; jasow...@redhat.com; driverdev- de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, June 23, 2014 12:27 PM To: Haiyang Zhang Cc: Greg KH; net...@vger.kernel.org; jasow...@redhat.com; driverdev- de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Monday, June 23, 2014 12:29 PM To: Haiyang Zhang Cc: Olaf Hering; net...@vger.kernel.org; jasow...@redhat.com; driverdev- de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, June 23, 2014 4:10 PM To: Haiyang Zhang Cc: o...@aepfle.de; g...@kroah.com; net...@vger.kernel.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker...@vger.kernel.org Subject

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-26 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Thursday, June 26, 2014 4:46 AM To: Haiyang Zhang Cc: Greg KH; net...@vger.kernel.org; jasow...@redhat.com; driverdev- de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

[PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-19 Thread Haiyang Zhang
The RNDIS_STATUS_NETWORK_CHANGE event is received after the Hyper-V host sleep or hibernation. We refresh network at this time. MS-TFS: 135162 Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |3

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-20 Thread Haiyang Zhang
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Friday, June 20, 2014 4:42 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux- ker

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-20 Thread Haiyang Zhang
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Friday, June 20, 2014 1:12 AM To: Olaf Hering Cc: Haiyang Zhang; net...@vger.kernel.org; jasow...@redhat.com; driverdev-de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

RE: [PATCH net-next] hyperv: Add handler for RNDIS_STATUS_NETWORK_CHANGE event

2014-06-23 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, June 23, 2014 4:03 AM To: Haiyang Zhang Cc: Greg KH; net...@vger.kernel.org; jasow...@redhat.com; driverdev- de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; da...@davemloft.net Subject: Re

RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-18 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Tuesday, July 15, 2014 1:09 AM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; net...@vger.kernel.org Subject: Re: [BISECTED][REGRESSION

RE: [PATCH 1/1] drivers/net/hyperv/netvsc.c: remove unnecessary null test before kfree

2014-06-28 Thread Haiyang Zhang
-Original Message- From: Fabian Frederick [mailto:f...@skynet.be] Sent: Saturday, June 28, 2014 6:37 AM To: linux-kernel@vger.kernel.org Cc: Fabian Frederick; KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org Subject: [PATCH 1/1] drivers/net/hyperv/netvsc.c: remove

RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-07 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Sunday, July 6, 2014 4:18 PM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; net...@vger.kernel.org Subject: [BISECTED][REGRESSION] Loading

RE: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Haiyang Zhang
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Tuesday, July 8, 2014 5:32 AM To: KY Srinivasan; Haiyang Zhang Cc: de...@linuxdriverproject.org; net...@vger.kernel.org; linux- ker...@vger.kernel.org; Richard Weinberger Subject: [PATCH] hyperv: Add netpoll

RE: [PATCH] hyperv: Add netpoll support

2014-07-08 Thread Haiyang Zhang
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Tuesday, July 8, 2014 2:40 PM To: Haiyang Zhang; KY Srinivasan Cc: de...@linuxdriverproject.org; net...@vger.kernel.org; linux- ker...@vger.kernel.org Subject: Re: [PATCH] hyperv: Add netpoll support Am

RE: [BISECTED][REGRESSION] Loading Hyper-V network drivers is racy in 3.14+ on Hyper-V 2012 R2

2014-07-14 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Monday, July 14, 2014 5:31 PM To: Haiyang Zhang Cc: KY Srinivasan; David S. Miller; de...@linuxdriverproject.org; linux- ker...@vger.kernel.org; net...@vger.kernel.org Subject: Re: [BISECTED][REGRESSION

RE: [PATCH net-next] hyperv: Add support for Virtual Receive Side Scaling (vRSS)

2013-12-19 Thread Haiyang Zhang
-Original Message- From: Ben Hutchings [mailto:bhutchi...@solarflare.com] Sent: Thursday, December 19, 2013 12:46 PM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev-de

RE: [PATCH net-next] hyperv: Add support for Virtual Receive Side Scaling (vRSS)

2013-12-19 Thread Haiyang Zhang
-Original Message- From: Daniel Borkmann [mailto:dbork...@redhat.com] Sent: Thursday, December 19, 2013 1:45 PM To: Haiyang Zhang Cc: Ben Hutchings; da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux- ker...@vger.kernel.org

RE: [PATCH net-next] hyperv: Add support for Virtual Receive Side Scaling (vRSS)

2013-12-19 Thread Haiyang Zhang
-Original Message- From: Tom Herbert [mailto:therb...@google.com] Sent: Thursday, December 19, 2013 2:59 PM To: Haiyang Zhang Cc: Daniel Borkmann; Ben Hutchings; da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel

RE: [PATCH net-next] hyperv: Add support for Virtual Receive Side Scaling (vRSS)

2013-12-19 Thread Haiyang Zhang
-Original Message- From: Tom Herbert [mailto:therb...@google.com] Sent: Thursday, December 19, 2013 4:43 PM To: Haiyang Zhang Cc: Daniel Borkmann; Ben Hutchings; da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel

[PATCH net] hyperv: Fix race between probe and open calls

2013-12-20 Thread Haiyang Zhang
Moving the register_netdev to the end of probe to prevent possible open call happens before NetVSP is connected. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 20 1 files changed

[PATCH] hyperv_fb: Add support for Gen2 VM

2014-02-08 Thread Haiyang Zhang
updated code related to the changes above. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/video/hyperv_fb.c | 60 ++-- 1 files changed, 41 insertions(+), 19 deletions(-) diff --git a/drivers

[PATCH net] hyperv: Fix the carrier status setting

2014-02-09 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 24 +++- 1 files changed, 15 insertions(+), 9 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv

[PATCH net-next] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-08-19 Thread Haiyang Zhang
In case that the IP header has optional field at the end, this patch will get the port numbers after that field, and compute the hash. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 16

RE: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-19 Thread Haiyang Zhang
-Original Message- From: Sitsofe Wheeler [mailto:sits...@gmail.com] Sent: Tuesday, August 19, 2014 8:37 AM To: KY Srinivasan Cc: Greg Kroah-Hartman; Haiyang Zhang; de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; Jason Wang; Daniel Borkmann; David S. Miller; net

RE: [PATCH net-next] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-08-22 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, August 22, 2014 12:31 AM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next,v2] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-13 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: Dexuan Cui de

RE: [PATCH net-next,v2] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-14 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@redhat.com] Sent: Thursday, August 14, 2014 5:29 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

[PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-04 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: Dexuan Cui de

RE: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-04 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, August 4, 2014 6:09 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

[PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-05 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: Dexuan Cui de

RE: [PATCH net-next] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-05 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, August 5, 2014 4:04 PM To: thomas1...@gmail.com Cc: net...@vger.kernel.org; Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de

[PATCH net-next,v3] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-15 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: Dexuan Cui de

[PATCH net-next,v2] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-14 Thread Haiyang Zhang
In case that the IP header has optional field at the end, this patch will get the port numbers after that field, and compute the hash. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c | 16

RE: [PATCH net-next,v2] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-14 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, October 14, 2014 5:37 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

RE: [PATCH net-next,v2] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-14 Thread Haiyang Zhang
-Original Message- From: Haiyang Zhang [mailto:haiya...@microsoft.com] Sent: Tuesday, October 14, 2014 4:05 PM To: da...@davemloft.net; net...@vger.kernel.org Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev-de

[PATCH net-next,v3] hyperv: Add handling of IP header with option field in netvsc_set_hash()

2014-10-16 Thread Haiyang Zhang
In case that the IP header has optional field at the end, this patch will get the port numbers after that field, and compute the hash. The general parser skb_flow_dissect() is used here. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com

RE: [PATCH net 1/1] hyperv: Fix a bug in netvsc_send()

2014-10-21 Thread Haiyang Zhang
; Haiyang Zhang Subject: Re: [PATCH net 1/1] hyperv: Fix a bug in netvsc_send() On 21 October 2014 18:13, Long Li lon...@microsoft.com wrote: Thanks Sitsofe. This should have been fixed by this patch: http://git.kernel.org/cgit/linux/kernel/git/next/linux- next.git/commit/?id

[PATCH net] hyperv: Fix the total_data_buflen in send path

2014-10-22 Thread Haiyang Zhang
. [Request to include this patch to the Stable branches] Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/hyperv

[PATCH net-next] hyperv: Add IPv6 into the hash computation for vRSS

2014-10-30 Thread Haiyang Zhang
This will allow the workload spreading via vRSS for IPv6. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c |4 +++- drivers/net/hyperv/rndis_filter.c |3 ++- 2 files changed, 5 insertions(+), 2

RE: [PATCH 1/1] net: Hyper-V: Deletion of an unnecessary check before the function call vfree

2014-11-20 Thread Haiyang Zhang
-Original Message- From: SF Markus Elfring [mailto:elfr...@users.sourceforge.net] Sent: Thursday, November 20, 2014 9:25 AM To: Haiyang Zhang; KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org Cc: LKML; kernel-janit...@vger.kernel.org; Julia Lawall Subject

[PATCH net-next] hyperv: Add processing of MTU reduced by the host

2014-11-11 Thread Haiyang Zhang
If the host uses packet encapsulation feature, the MTU may be reduced by the host due to headroom reservation for encapsulation. This patch handles this new MTU value. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c |3 ++- drivers/net/hyperv

RE: [PATCH net-next] hyperv: Add processing of MTU reduced by the host

2014-11-12 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, November 12, 2014 2:47 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

RE: [PATCH net-next] hyperv: Add processing of MTU reduced by the host

2014-11-12 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, November 12, 2014 3:04 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

[PATCH net-next,v2] hyperv: Add processing of MTU reduced by the host

2014-11-12 Thread Haiyang Zhang
If the host uses packet encapsulation feature, the MTU may be reduced by the host due to headroom reservation for encapsulation. This patch handles this new MTU value. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c |3 ++- drivers/net/hyperv

[PATCH net-next] hyperv: Fix some variable name typos in send-buffer init/revoke

2014-12-19 Thread Haiyang Zhang
The changed names are union fields with the same size, so the existing code still works. But, we now update these variables to the correct names. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |1

[PATCH net-next] hyperv: Add support for vNIC hot removal

2014-12-01 Thread Haiyang Zhang
these unnecessary messages, and lets vNIC removal process complete normally. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel_mgmt.c |2 ++ drivers/net/hyperv/netvsc.c |3 +++ drivers/net/hyperv

RE: [PATCH net] hyperv: Fix the error processing in netvsc_send()

2015-01-30 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Friday, January 30, 2015 5:25 AM + if (ret != 0) { + if (section_index != NETVSC_INVALID_INDEX) + netvsc_free_send_slot(net_device, section_index); What if ret is -EINVAL or

RE: [PATCH net] hyperv: Fix the error processing in netvsc_send()

2015-02-03 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, February 2, 2015 1:49 AM btw, I find during netvsc_start_xmit(), ret was change to -ENOSPC when queue_sends[q_idx] 1. But non of the caller check -ENOSPC in fact? In this case, we don't request

RE: [PATCH] hyperv: fix sparse warnings

2015-02-05 Thread Haiyang Zhang
-Original Message- From: Lad Prabhakar [mailto:prabhakar.cse...@gmail.com] Sent: Thursday, February 5, 2015 10:07 AM To: KY Srinivasan; Haiyang Zhang; de...@linuxdriverproject.org Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Lad, Prabhakar Subject: [PATCH] hyperv: fix

[PATCH net] hyperv: Fix the error processing in netvsc_send()

2015-01-29 Thread Haiyang Zhang
this patch for stable trees. Thanks!) Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net

RE: [PATCH v2] net: hyperv: else branch not necessary

2015-01-26 Thread Haiyang Zhang
-Original Message- From: Nicholas Mc Guire [mailto:der.h...@hofr.at] Sent: Sunday, January 25, 2015 1:09 PM To: KY Srinivasan Cc: Haiyang Zhang; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Nicholas Mc Guire Subject: [PATCH v2] net: hyperv

RE: [PATCH net] hyperv: Fix the error processing in netvsc_send()

2015-02-04 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Wednesday, February 4, 2015 2:29 AM The EAGAIN error doesn't normally happen, because we set the hi water mark to stop send queue. This is not true since only txq was stopped which means only network

[PATCH] hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()

2015-03-25 Thread Haiyang Zhang
-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/connection.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index 583d7d4..b27220a 100644 --- a/drivers/hv

RE: [PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op

2015-02-27 Thread Haiyang Zhang
-Original Message- From: Andrew Schwartzmeyer [mailto:and...@schwartzmeyer.com] Sent: Thursday, February 26, 2015 7:27 PM To: Haiyang Zhang Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; hall5...@vandals.uidaho.edu; kei

RE: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-26 Thread Haiyang Zhang
-Original Message- From: Andrew Schwartzmeyer [mailto:and...@schwartzmeyer.com] Subject: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op Please add net-next to the subject (the patch should also be based on that tree). Also the hyperv: word should come first. Like this:

[PATCH net-next] hv_netvsc: remove vmbus_are_subchannels_present() in rndis_filter_device_add()

2015-03-26 Thread Haiyang Zhang
The vmbus_are_subchannels_present() also involves opening the channels, which may be too early at this point. Checking for subchannels is not necessary here. So this patch removes it. Subchannels will be opened when offer messages arrive. Signed-off-by: Haiyang Zhang haiya...@microsoft.com

[PATCH net-next] hv_netvsc: Implement batching in send buffer

2015-03-26 Thread Haiyang Zhang
With this patch, we can send out multiple RNDIS data packets in one send buffer slot and one VMBus message. It reduces the overhead associated with VMBus messages. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv

[PATCH net-next] hv_netvsc: Implement partial copy into send buffer

2015-04-13 Thread Haiyang Zhang
If remaining space in a send buffer slot is too small for the whole message, we only copy the RNDIS header and PPI data into send buffer, so we can batch one more packet each time. It reduces the vmbus per-message overhead. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y

RE: [PATCH] hv_netvsc: remove unused variable in netvsc_send()

2015-05-04 Thread Haiyang Zhang
-Original Message- From: Jerry Snitselaar [mailto:jsnit...@redhat.com] Sent: Monday, May 4, 2015 10:57 AM To: linux-kernel@vger.kernel.org Cc: net...@vger.kernel.org; de...@linuxdriverproject.org; Haiyang Zhang; KY Srinivasan Subject: [PATCH] hv_netvsc: remove unused variable

[PATCH net-next,1/3] hv_netvsc: Clean up two unused variables

2015-04-06 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |1 - drivers/net/hyperv/netvsc.c |1 - drivers/net/hyperv/rndis_filter.c |2 -- 3 files changed, 0 insertions(+), 4 deletions(-) diff

<    1   2   3   4   >