[PATCH net-next,1/1] hyperv: Remove unnecessary comments in rndis_filter_receive_data()

2012-10-18 Thread Haiyang Zhang
Checked with Windows networking team, there is only one RNDIS message in each netvsc packet. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |5 - 1 files changed, 0 insertions(+), 5 deletions

[PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-16 Thread Haiyang Zhang
Fixed: warning: cast from pointer to integer of different size Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc.c |4 ++-- 1 files changed, 2 insertions

RE: [PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-16 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, April 16, 2013 3:12 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

RE: [PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-16 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, April 16, 2013 3:49 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

RE: [PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-16 Thread Haiyang Zhang
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Tuesday, April 16, 2013 4:31 PM To: Haiyang Zhang Cc: David Miller; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject

[PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-16 Thread Haiyang Zhang
the same id in the completion packet. But the value has no effect on the host side. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc.c |2 +- 1 files changed

RE: [PATCH net] hyperv: Fix a compiler warning in netvsc_send()

2013-04-19 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, April 19, 2013 4:50 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH

RE: hv_netvsc: WARNING in softirq.c

2013-04-05 Thread Haiyang Zhang
-Original Message- From: Richard Genoud [mailto:richard.gen...@gmail.com] Sent: Friday, April 05, 2013 7:00 AM To: Haiyang Zhang Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: hv_netvsc: WARNING in softirq.c Ok

[PATCH net,1/2] hyperv: Fix a kernel warning from netvsc_linkstatus_callback()

2013-04-05 Thread Haiyang Zhang
. The fix is to remove the unnecessary netif_tx_disable wake_queue() in the netvsc_linkstatus_callback(). Reported-by: Richard Genoud richard.gen...@gmail.com Tested-by: Long Li lon...@microsoft.com Tested-by: Richard Genoud richard.gen...@gmail.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com

[PATCH net,2/2] hyperv: Fix RNDIS send_completion code path

2013-04-05 Thread Haiyang Zhang
path. The function was a no-op. Reported-by: Long Li lon...@microsoft.com Tested-by: Long Li lon...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc.c | 17 - drivers/net/hyperv

RE: linux-next: manual merge of the akpm tree with the char-misc tree

2013-03-20 Thread Haiyang Zhang
-Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: Wednesday, March 20, 2013 12:20 AM To: Andrew Morton Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Haiyang Zhang; KY Srinivasan; Greg KH; Arnd Bergmann Subject: linux-next: manual merge

[PATCH] video: fix a type warning in hyperv_fb.c

2013-03-21 Thread Haiyang Zhang
Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/video/hyperv_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers

[PATCH v3] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-08 Thread Haiyang Zhang
This is the driver for the Hyper-V Synthetic Video, which supports screen resolution up to Full HD 1920x1080 on Windows Server 2012 host, and 1600x1200 on Windows Server 2008 R2 or earlier. It also solves the double mouse cursor issue of the emulated video mode. Signed-off-by: Haiyang Zhang

RE: [PATCH v3] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-12 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Haiyang Zhang Sent: Friday, March 08, 2013 4:46 PM To: florianschandi...@gmx.de; linux-fb...@vger.kernel.org Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow

[PATCH v2] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-04 Thread Haiyang Zhang
This is the driver for the Hyper-V Synthetic Video, which supports screen resolution up to Full HD 1920x1080 on Windows Server 2012 host, and 1600x1200 on Windows Server 2008 R2 or earlier. It also solves the double mouse cursor issue of the emulated video mode. Signed-off-by: Haiyang Zhang

RE: [PATCH v2] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-04 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Greg KH Sent: Monday, March 04, 2013 8:16 PM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; linux

RE: hv_netvsc: WARNING in softirq.c

2013-03-06 Thread Haiyang Zhang
-Original Message- From: Richard Genoud [mailto:richard.gen...@gmail.com] Sent: Friday, March 01, 2013 3:39 AM To: Haiyang Zhang Cc: KY Srinivasan; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: hv_netvsc: WARNING in softirq.c

[PATCH net-next,1/1] hyperv: Add an error message to rndis_filter_set_device_mac()

2012-11-30 Thread Haiyang Zhang
This message indicates an error returned from the host when changing MAC address. Reported-by: Michal Kubecek mkube...@suse.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |5 - 1 files

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-28 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Thursday, February 28, 2013 10:17 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org

RE: hv_netvsc: WARNING in softirq.c

2013-02-28 Thread Haiyang Zhang
-Original Message- From: Richard GENOUD [mailto:richard.gen...@gmail.com] Sent: Thursday, February 28, 2013 3:35 AM To: KY Srinivasan Cc: Haiyang Zhang; de...@linuxdriverproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: hv_netvsc: WARNING in softirq.c

[PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-15 Thread Haiyang Zhang
This is the driver for the Hyper-V Synthetic Video, which supports screen resolution up to Full HD 1920x1080 on Windows Server 2012 host, and 1600x1200 on Windows Server 2008 R2 or earlier. It also solves the double mouse cursor issue of the emulated video mode. Signed-off-by: Haiyang Zhang

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-17 Thread Haiyang Zhang
From: Olaf Hering Sent: Sunday, February 17, 2013 9:32 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH RFC] video: Add Hyper-V Synthetic Video

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-18 Thread Haiyang Zhang
-Original Message- From: geert.uytterhoe...@gmail.com [mailto:geert.uytterhoe...@gmail.com] On Behalf Of Geert Uytterhoeven Sent: Monday, February 18, 2013 5:29 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-19 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Tuesday, February 19, 2013 11:51 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-19 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Olaf Hering Sent: Tuesday, February 19, 2013 1:40 PM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com

RE: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-21 Thread Haiyang Zhang
From: Olaf Hering Sent: Thursday, February 21, 2013 10:53 AM To: Haiyang Zhang Cc: florianschandi...@gmx.de; linux-fb...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH RFC] video: Add Hyper-V Synthetic

[PATCH net-next,1/2] hyperv: Add a check for ring_size value

2012-07-25 Thread Haiyang Zhang
It prevents ring_size being set to a too small value. Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc_drv.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions

[PATCH net-next,2/2] hyperv: Add error handling to rndis_filter_device_add()

2012-07-25 Thread Haiyang Zhang
Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/net/hyperv

RE: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-30 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Monday, July 30, 2012 8:39 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH net,1/1] hyperv: Add

RE: [PATCH 5/5] net/hyperv: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Haiyang Zhang
-Original Message- From: Ilya Shchepetkov [mailto:shchepet...@ispras.ru] Sent: Tuesday, August 14, 2012 6:29 AM To: KY Srinivasan Cc: Ilya Shchepetkov; Haiyang Zhang; David S. Miller; de...@linuxdriverproject.org; net...@vger.kernel.org; linux- ker...@vger.kernel.org; ldv-proj

[PATCH net-next,1/1] hyperv: Add comments for the extended buffer after RNDIS message

2012-08-09 Thread Haiyang Zhang
Reported-by: Olaf Hering o...@aepfle.de Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 1e88a10

[PATCH net-next,1/1] hyperv: Move wait completion msg code into rndis_filter_halt_device()

2012-08-03 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/netvsc.c |7 --- drivers/net/hyperv/rndis_filter.c | 11 +++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 6cee291

RE: [PATCH net-next,1/1] hyperv: Move wait completion msg code into rndis_filter_halt_device()

2012-08-05 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, August 03, 2012 7:52 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

[PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-06 Thread Haiyang Zhang
. And, thanks to Long Li lon...@microsoft.com for the debugging works. Reported-and-tested-by: Kin Cho k...@infoblox.com Reported-by: Long Li lon...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h

RE: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-07 Thread Haiyang Zhang
-Original Message- From: Ben Hutchings [mailto:bhutchi...@solarflare.com] Sent: Friday, July 06, 2012 8:19 PM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

RE: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-10 Thread Haiyang Zhang
-Original Message- From: Ben Hutchings [mailto:bhutchi...@solarflare.com] Sent: Friday, July 06, 2012 8:19 PM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

[PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-10 Thread Haiyang Zhang
. And, thanks to Long Li lon...@microsoft.com for the debugging works. Reported-and-tested-by: Kin Cho k...@infoblox.com Reported-by: Long Li lon...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h

[PATCH net,1/3] hyperv: Fix the max_xfer_size in RNDIS initialization

2012-10-01 Thread Haiyang Zhang
According to RNDIS specs, Windows sets this size to 0x4000. I use the same value here. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

[PATCH net,2/3] hyperv: Fix the missing return value in rndis_filter_set_packet_filter()

2012-10-01 Thread Haiyang Zhang
Return ETIMEDOUT when the reply message is not received in time. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/hyperv

[PATCH net,3/3] hyperv: Fix page buffer handling in rndis_filter_send_request()

2012-10-01 Thread Haiyang Zhang
Add another page buffer if the request message crossed page boundary. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git

RE: [PATCH net,1/3] hyperv: Fix the max_xfer_size in RNDIS initialization

2012-10-01 Thread Haiyang Zhang
From: David Miller [da...@davemloft.net] Sent: Monday, October 01, 2012 6:39 PM To: Haiyang Zhang Cc: net...@vger.kernel.org; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re

RE: [PATCH net, 3/3] hyperv: Fix page buffer handling in rndis_filter_send_request()

2012-10-02 Thread Haiyang Zhang
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Tuesday, October 02, 2012 4:39 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org

[PATCH net-next,1/6] hyperv: Fix the max_xfer_size in RNDIS initialization

2012-10-02 Thread Haiyang Zhang
According to RNDIS specs, Windows sets this size to 0x4000. I use the same value here. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff

[PATCH net-next,2/6] hyperv: Fix the missing return value in rndis_filter_set_packet_filter()

2012-10-02 Thread Haiyang Zhang
Return ETIMEDOUT when the reply message is not received in time. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/hyperv

[PATCH net-next,4/6] hyperv: Remove extra allocated space for recv_pkt_list elements

2012-10-02 Thread Haiyang Zhang
The receive code path doesn't use the page buffer, so remove the extra allocated space here. 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.c |4 +--- 2 files

[PATCH net-next,6/6] hyperv: Add buffer for extended info after the RNDIS response message.

2012-10-02 Thread Haiyang Zhang
In some response messages, there may be some extended info after the message. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions

[PATCH net-next,5/6] hyperv: Report actual status in receive completion packet

2012-10-02 Thread Haiyang Zhang
The existing code always reports NVSP_STAT_SUCCESS. This patch adds the mechanism to report failure when it happens. 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.c

[PATCH net-next,3/6] hyperv: Fix page buffer handling in rndis_filter_send_request()

2012-10-02 Thread Haiyang Zhang
To prevent possible data corruption in RNDIS requests, add another page buffer if the request message crossed page boundary. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/rndis_filter.c | 15 ++- 1 files

[PATCH net] hyperv: Fix the NETIF_F_SG flag setting in netvsc

2013-07-16 Thread Haiyang Zhang
SG mode is not currently supported by netvsc, so remove this flag for now. Otherwise, it will be unconditionally enabled by commit ec5f0615642 Kill link between CSUM and SG features Previously, the SG feature is disabled because CSUM is not set here. Signed-off-by: Haiyang Zhang haiya

RE: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-17 Thread Haiyang Zhang
...@resnulli.us; net...@vger.kernel.org; LKML; KY Srinivasan; Haiyang Zhang Subject: Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features. On 07/16/2013 04:50 PM, Pravin Shelar wrote: On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury joseph.salisb...@canonical.com wrote: On 07

RE: [PATCH 1/2] hyperv-fb: add pci stub

2013-10-02 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Gerd Hoffmann Sent: Wednesday, October 2, 2013 7:55 AM Cc: Gerd Hoffmann; KY Srinivasan; Haiyang Zhang; Jean-Christophe Plagniol- Villard; Tomi Valkeinen; open

RE: [PATCH 2/2] hyperv-fb: add blanking support

2013-10-02 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Gerd Hoffmann Sent: Wednesday, October 2, 2013 7:55 AM Cc: Gerd Hoffmann; KY Srinivasan; Haiyang Zhang; Jean-Christophe Plagniol- Villard; Tomi Valkeinen; open

[PATCH net-next,v2,0/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-15 Thread Haiyang Zhang
in the future. Haiyang Zhang (1): hyperv: Add support for virtual Receive Side Scaling (vRSS) drivers/net/hyperv/hyperv_net.h | 111 ++- drivers/net/hyperv/netvsc.c | 132 +- drivers/net/hyperv/netvsc_drv.c | 104 - drivers/net

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

2014-03-15 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 | 111 ++- drivers/net

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

2014-03-17 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Monday, March 17, 2014 4:20 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,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-17 Thread Haiyang Zhang
-Original Message- From: Ben Hutchings [mailto:b...@decadent.org.uk] Sent: Monday, March 17, 2014 4:28 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 v3 3/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-24 Thread Haiyang Zhang
-Original Message- From: Gerd Hoffmann [mailto:kra...@redhat.com] Sent: Monday, February 24, 2014 8:17 AM To: linux-fb...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com

RE: [PATCH v3 4/4] hyperv-fb: kick off efifb early

2014-02-24 Thread Haiyang Zhang
-Original Message- From: Gerd Hoffmann [mailto:kra...@redhat.com] Sent: Monday, February 24, 2014 8:17 AM To: linux-fb...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com

RE: [PATCH v4 2/2] hyperv-fb: kick off efifb early

2014-02-25 Thread Haiyang Zhang
-Original Message- From: Gerd Hoffmann [mailto:kra...@redhat.com] Sent: Tuesday, February 25, 2014 7:29 AM To: linux-fb...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com

RE: [PATCH v5 1/2] hyperv-fb: add support for generation 2 virtual machines.

2014-02-26 Thread Haiyang Zhang
; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com; tomi.valkei...@ti.com; de...@linuxdriverproject.org; Gerd Hoffmann; Jean- Christophe Plagniol-Villard Subject: [PATCH v5 1/2] hyperv-fb: add support for generation 2 virtual machines. UEFI-based generation 2 virtual machines support

RE: [PATCH v5 2/2] hyperv-fb: kick off efifb early

2014-02-26 Thread Haiyang Zhang
-Original Message- From: Gerd Hoffmann [mailto:kra...@redhat.com] Sent: Wednesday, February 26, 2014 5:51 AM To: linux-fb...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan; Abhishek Gupta (LIS); Haiyang Zhang; jasow...@redhat.com

[PATCH net-next] hyperv: Move state setting for link query

2014-03-03 Thread Haiyang Zhang
It moves the state setting for query into rndis_filter_receive_response(). All callbacks including query-complete and status-callback are synchronized by channel-inbound_lock. This prevents pentential race between them. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv

RE: [PATCH net-next] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, March 3, 2014 10:10 PM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject: Re

RE: [PATCH net-next] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Monday, March 3, 2014 10:10 PM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject: Re

[PATCH net-next,v2] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
It moves the state setting for query into rndis_filter_receive_response(). All callbacks including query-complete and status-callback are synchronized by channel-inbound_lock. This prevents pentential race between them. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv

RE: [PATCH net-next] hyperv: Move state setting for link query

2014-03-05 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Wednesday, March 5, 2014 12:57 AM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

RE: Hyper-V Synthetic Video Frame Buffer Driver may distort top two lines of console

2014-03-06 Thread Haiyang Zhang
-Original Message- From: KY Srinivasan Sent: Thursday, March 6, 2014 4:51 PM To: Brian Wong; linux-kernel@vger.kernel.org; Haiyang Zhang Subject: RE: Hyper-V Synthetic Video Frame Buffer Driver may distort top two lines of console -Original Message- From: Brian

[PATCH net-next] hyperv: Change the receive buffer size for legacy hosts

2014-03-09 Thread Haiyang Zhang
Due to a bug in the Hyper-V host verion 2008R2, we need to use a slightly smaller receive buffer size, otherwise the buffer will not be accepted by the legacy hosts. Signed-off-by: Haiyang Zhang haiya...@microsoft.com --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc.c

[PATCH] hyperv_fb: Add screen refresh after pause/resume operation

2014-01-13 Thread Haiyang Zhang
This is necessary because after VM is pause/resumed, some portion of the screen may need refresh. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/video/hyperv_fb.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions

RE: [PATCH net,v3] hyperv: Fix the carrier status setting

2014-02-13 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Wednesday, February 12, 2014 10:52 PM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org

RE: [PATCH] hyperv_fb: Add screen refresh after pause/resume operation

2014-02-14 Thread Haiyang Zhang
-Original Message- From: Haiyang Zhang [mailto:haiya...@microsoft.com] Sent: Monday, January 13, 2014 7:21 PM To: florianschandi...@gmx.de; a...@linux-foundation.org; linux- fb...@vger.kernel.org Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel

RE: [PATCH] hyperv_fb: Add support for Gen2 VM

2014-02-14 Thread Haiyang Zhang
-Original Message- From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- ow...@vger.kernel.org] On Behalf Of Haiyang Zhang Sent: Saturday, February 8, 2014 12:26 PM To: florianschandi...@gmx.de; a...@linux-foundation.org; linux- fb...@vger.kernel.org Cc: Haiyang Zhang; KY

[PATCH net-next] hyperv: Add latest NetVSP versions to auto negotiation

2014-02-18 Thread Haiyang Zhang
It auto negotiates the highest NetVSP version supported by both guest and host. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 53 +++ drivers/net/hyperv/netvsc.c

[PATCH 0/2] Re-sending two patches for hyperv_fb

2014-02-18 Thread Haiyang Zhang
They were sent out during tree closing, I'm re-sending them now. Haiyang Zhang (2): hyperv_fb: Add screen refresh after pause/resume operation hyperv_fb: Add support for Gen2 VM drivers/video/hyperv_fb.c | 70 - 1 files changed, 50 insertions

[PATCH 1/2] hyperv_fb: Add screen refresh after pause/resume operation

2014-02-18 Thread Haiyang Zhang
This is necessary because after VM is pause/resumed, some portion of the screen may need refresh. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/video/hyperv_fb.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions

[PATCH 2/2] hyperv_fb: Add support for Gen2 VM

2014-02-18 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-next,v2] hyperv: Add latest NetVSP versions to auto negotiation

2014-02-19 Thread Haiyang Zhang
It auto negotiates the highest NetVSP version supported by both guest and host. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/hyperv_net.h | 53 +++ drivers/net/hyperv/netvsc.c

RE: [PATCH net-next] hyperv: Add latest NetVSP versions to auto negotiation

2014-02-19 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Wednesday, February 19, 2014 4:23 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 v2,0/2] Re-sending two patches for hyperv_fb

2014-02-20 Thread Haiyang Zhang
They were sent out during tree closing, I'm re-sending them now. --- v2: Updated the variable type gen2vm to int, because efi_enabled() returns int. Haiyang Zhang (2): hyperv_fb: Add screen refresh after pause/resume operation hyperv_fb: Add support for Gen2 VM drivers/video/hyperv_fb.c

[PATCH v2,2/2] hyperv_fb: Add support for Gen2 VM

2014-02-20 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 v2,1/2] hyperv_fb: Add screen refresh after pause/resume operation

2014-02-20 Thread Haiyang Zhang
This is necessary because after VM is pause/resumed, some portion of the screen may need refresh. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/video/hyperv_fb.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions

RE: [PATCH net] hyperv: Fix the carrier status setting

2014-02-10 Thread Haiyang Zhang
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Monday, February 10, 2014 4:04 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] hyperv: Fix the carrier status setting

2014-02-10 Thread Haiyang Zhang
-Original Message- From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] Sent: Monday, February 10, 2014 8:29 AM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux- ker...@vger.kernel.org

[PATCH net,v2] hyperv: Fix the carrier status setting

2014-02-10 Thread Haiyang Zhang
Without this patch, the cat /sys/class/net/ethN/operstate shows unknown, and ethtool ethN shows Link detected: yes, when VM boots up with or without vNIC connected. This patch fixed the problem. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com

RE: [PATCH] hyperv_fb: Add screen refresh after pause/resume operation

2014-02-10 Thread Haiyang Zhang
-Original Message- From: Haiyang Zhang [mailto:haiya...@microsoft.com] Sent: Monday, January 13, 2014 7:21 PM To: florianschandi...@gmx.de; a...@linux-foundation.org; linux- fb...@vger.kernel.org Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; jasow...@redhat.com; linux-kernel

[PATCH net,v3] hyperv: Fix the carrier status setting

2014-02-12 Thread Haiyang Zhang
Without this patch, the cat /sys/class/net/ethN/operstate shows unknown, and ethtool ethN shows Link detected: yes, when VM boots up with or without vNIC connected. This patch fixed the problem. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com

RE: [PATCH net,v2] hyperv: Fix the carrier status setting

2014-02-12 Thread Haiyang Zhang
-Original Message- From: Jason Wang [mailto:jasow...@redhat.com] Sent: Tuesday, February 11, 2014 4:51 AM To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org Subject

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

2014-03-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 | 112 ++- drivers/net

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

2014-03-19 Thread Haiyang Zhang
-Original Message- + + +/* ndis_recv_scale_cap/cap_flag */ One empty line is sufficient, we don't need two of them here. I will fix this and other formats you pointed out below, also check the whole patch for similar issues. - net = alloc_etherdev(sizeof(struct

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

2014-03-20 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-03-21 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, March 21, 2014 2:55 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-21 Thread Haiyang Zhang
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Friday, March 21, 2014 3:33 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,v4] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-21 Thread Haiyang Zhang
=8a7206a89f85c8439561b0eff85bb9440a2e97a9 ) 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/hyperv/netvsc.c | 136 +- drivers/net/hyperv/netvsc_drv.c | 103

[PATCH] MAINTAINERS: update Hyper-V file list

2013-05-09 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- MAINTAINERS |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3d7782b..315a63c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

RE: [PATCH net] hyperv: Fix vlan_proto setting in netvsc_recv_callback()

2013-06-14 Thread Haiyang Zhang
-Original Message- From: Olaf Hering [mailto:o...@aepfle.de] Sent: Friday, June 14, 2013 11:29 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org Subject: Re: [PATCH

[PATCH net] Fix the VLAN_TAG_PRESENT in netvsc_recv_callback()

2013-06-17 Thread Haiyang Zhang
We should call __vlan_hwaccel_put_tag() only if the packet comes from vlan, otherwise VLAN_TAG_PRESENT will always be added. Reported-by: Olaf Hering o...@aepfle.de Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv

RE: [PATCH net-next] hyperv: Fix a compiler warning in netvsc_send()

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

[PATCH net-next] hyperv: Fix a compiler warning in netvsc_send()

2013-04-26 Thread Haiyang Zhang
the same id in the completion packet. But the value has no effect on the host side. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net/hyperv/netvsc.c |2 +- 1 files changed

RE: [PATCH net, 1/2] hyperv: Fix a kernel warning from netvsc_linkstatus_callback()

2013-05-23 Thread Haiyang Zhang
-Original Message- From: Richard Genoud [mailto:richard.gen...@gmail.com] Sent: Thursday, May 23, 2013 4:44 AM To: Haiyang Zhang Cc: da...@davemloft.net; net...@vger.kernel.org; o...@aepfle.de; jasow...@redhat.com; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org

[PATCH net] hyperv: Fix vlan_proto setting in netvsc_recv_callback()

2013-05-28 Thread Haiyang Zhang
Since the recent addition of 8021AD, we need to set the new field vlan_proto in sk_buff. Otherwise, it will trigger BUG() call in vlan_proto_idx(). This patch fixes the problem. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com --- drivers/net

  1   2   3   4   >