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 > Subjec

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:

[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 Tested-by: Long Li Tested-by: Richard Genoud Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc_drv.c |2 --

[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 Tested-by: Long Li Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc.c | 17 - drivers/net/hyperv/rndis_filter.c | 14 +- 2 files changed, 13 insertions(+), 18

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...@l

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:

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...@l

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 S

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 RF

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 Srinivas

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...@linu

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@vge

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c b/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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 -- drivers/net/hyperv/netvsc.c |4 +--- 2 files changed, 1 insertions(+), 5 dele

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/drivers/net/hyperv

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |2 ++ drivers/net/hyperv/netvsc.c | 18 -- drivers

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c | 15 ++- 1 files changed, 14 insertions(+), 1 deletions

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: [

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; To

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; To

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/net/hyperv

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hyperv/netvsc.c b

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...@linuxdriver

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...@linuxdriver

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...@l

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net

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...@linuxdriverproj

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...@linuxdriverproj

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc_drv.c |4 +++- 1 files changed, 3 insertions

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

2013-03-21 Thread Haiyang Zhang
Reported-by: kbuild test robot Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/video/hyperv_fb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index ceb33b0..d4d2c5f 100644 --- a/drivers

[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

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

2013-07-17 Thread Haiyang Zhang
.h.du...@intel.com; j...@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 S

[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

[PATCH] MAINTAINERS: update Hyper-V file list

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

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net

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...@linuxdriverproj

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...@l

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc_drv.c |3 ++- 1 files

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:

[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

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

2012-08-03 Thread Haiyang Zhang
We need to wait for send_completion msg before put_rndis_request() at the end of rndis_filter_halt_device(). Otherwise, netvsc_send_completion() may reference freed memory which is overwritten, and cause panic. Reported-by: Long Li Reported-by: Jason Wang Signed-off-by: Haiyang Zhang

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...@linuxdriver

[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 Signed-off-by: Haiyang Zhang --- 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..06f8601 100644 --- a/drivers/net

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...

[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 Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/netvsc_drv.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers

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

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

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...@l

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

2012-07-10 Thread Haiyang Zhang
thanks to Long Li for the debugging works. Reported-and-tested-by: Kin Cho Reported-by: Long Li Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc_drv.c | 30 +- drivers/net/hyperv/rndis_filte

[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 RF

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

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c

[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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c b/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 Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/rndis_filter.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c b

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

2012-07-06 Thread Haiyang Zhang
thanks to Long Li for the debugging works. Reported-and-tested-by: Kin Cho Reported-by: Long Li Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h |1 + drivers/net/hyperv/netvsc_drv.c | 30 +- drivers/net/hyperv/rndis_filte

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...@linuxdriverpro

RE: [PATCH] hv: do not lose pending heartbeat vmbus packets

2016-09-19 Thread Haiyang Zhang
> -Original Message- > From: Long Li [mailto:lon...@exchange.microsoft.com] > Sent: Monday, September 12, 2016 11:31 PM > To: KY Srinivasan ; Haiyang Zhang > > Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; Long Li > > Subject: [PATCH] hv: do no

RE: [PATCH] netvsc: don't access netdev->num_rx_queues directly

2017-06-21 Thread Haiyang Zhang
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, June 21, 2017 6:17 PM > To: Stephen Hemminger > Cc: Arnd Bergmann ; KY Srinivasan ; > Haiyang Zhang ; David S. Miller > ; Simon Xiao ; > de...@linuxdriverproject.org; net..

[PATCH net-next,1/2] hv_netvsc: Remove unnecessary var link_state from struct netvsc_device_info

2017-06-21 Thread Haiyang Zhang
From: Haiyang Zhang We simply use rndis_device->link_state in the netdev_dbg. The variable, link_state from struct netvsc_device_info, is not used anywhere else. Signed-off-by: Haiyang Zhang Reviewed-by: Stephen Hemminger --- drivers/net/hyperv/hyperv_net.h |5 +++-- drivers/net/hyp

[PATCH net-next,2/2] hv_netvsc: Fix the carrier state error when data path is off

2017-06-21 Thread Haiyang Zhang
From: Haiyang Zhang When the VF NIC is opened, the synthetic NIC's carrier state is set to off. This tells the host to transitions data path to the VF device. But if startup script or user manipulates the admin state of the netvsc device directly for example: # ifconfig eth0

RE: [PATCH net] hv_netvsc: preserve hw_features on mtu/channels/ringparam changes

2017-11-14 Thread Haiyang Zhang
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Tuesday, November 14, 2017 11:58 AM > To: Stephen Hemminger > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; KY Srinivasan ; Haiyang > Zhan

[PATCH net-next] hv_netvsc: Set tx_table to equal weight after subchannels open

2017-10-27 Thread Haiyang Zhang
From: Haiyang Zhang In some cases, like internal vSwitch, the host doesn't provide send indirection table updates. This patch sets the table to be equal weight after subchannels are all open. Otherwise, all workload will be on one TX channel. As tested, this patch has largely increase

RE: [RFC PATCH 0/2] hv_netvsc: Fix shutdown regression on Win2012 hosts

2018-01-23 Thread Haiyang Zhang
> -Original Message- > From: Mohammed Gamal [mailto:mga...@redhat.com] > Sent: Tuesday, January 23, 2018 4:34 AM > To: net...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; KY > Srinivasan ; Haiyang Zhang ; > Stephen Hemminger

[PATCH net-next] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread Haiyang Zhang
From: Haiyang Zhang The clean up function is updated to cover duplicate config info in files included by "source" key word in Ubuntu network config. Signed-off-by: Haiyang Zhang --- tools/hv/bondvf.sh | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) di

RE: [PATCH net-next] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread Haiyang Zhang
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, May 12, 2017 12:20 PM > To: Haiyang Zhang ; Haiyang Zhang > > Cc: net...@vger.kernel.org; KY Srinivasan ; > o...@aepfle.de; vkuzn...@redhat.com; linux-kernel@vger.kernel.org >

[PATCH net-next,v2] tools: hv: Add clean up for included files in Ubuntu net config

2017-05-12 Thread Haiyang Zhang
From: Haiyang Zhang The clean up function is updated to cover duplicate config info in files included by "source" key word in Ubuntu network config. Signed-off-by: Haiyang Zhang --- tools/hv/bondvf.sh | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-)

[PATCH net-next] hv_netvsc: Use the num_online_cpus() for channel limit

2018-01-19 Thread Haiyang Zhang
From: Haiyang Zhang Since we no longer localize channel/CPU affiliation within one NUMA node, num_online_cpus() is used as the number of channel cap, instead of the number of processors in a NUMA node. This patch allows a bigger range for tuning the number of channels. Signed-off-by: Haiyang

[PATCH net-next] hv_netvsc: Use the num_online_cpus() for channel limit

2018-01-19 Thread Haiyang Zhang
From: Haiyang Zhang Since we no longer localize channel/CPU affiliation within one NUMA node, num_online_cpus() is used as the number of channel cap, instead of the number of processors in a NUMA node. This patch allows a bigger range for tuning the number of channels. Signed-off-by: Haiyang

RE: [PATCH] hyperv/netvsc: Delete two error messages for a failed memory allocation in netvsc_init_buf()

2018-01-08 Thread Haiyang Zhang
> -Original Message- > From: SF Markus Elfring [mailto:elfr...@users.sourceforge.net] > Sent: Sunday, January 7, 2018 3:10 PM > To: de...@linuxdriverproject.org; net...@vger.kernel.org; Haiyang Zhang > ; KY Srinivasan ; Stephen > Hemminger > Cc: LKML ; kernel-jan

[PATCH] hv_vmbus: Correct the stale comments regarding cpu affinity

2018-01-26 Thread Haiyang Zhang
The comments doesn't match what the current code does, also have a typo. This patch corrects them. Signed-off-by: Haiyang Zhang --- drivers/hv/channel_mgmt.c | 6 ++ include/linux/hyperv.h| 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/hv/channel_mgm

RE: [PATCH v3 2/6] PCI: hv: hv_eject_device_work(): remove the bogus test

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; Jack > Morgenstein ; sta...@vger.kernel.org > Subject: [PATCH v3 2/6] PCI: hv: hv_eject_device_work(): remove the bogus test > >

RE: [PATCH v3 1/6] PCI: hv: fix a comment typo in _hv_pcifront_read_config()

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; > sta...@vger.kernel.org > Subject: [PATCH v3 1/6] PCI: hv: fix a comment typo in > _hv_pcifront_read_config() > > No func

RE: [PATCH v3 4/6] PCI: hv: remove hbus->enum_sem

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; Jack > Morgenstein ; sta...@vger.kernel.org > Subject: [PATCH v3 4/6] PCI: hv: remove hbus->enum_sem > > Since we serialize th

RE: [PATCH v3 3/6] PCI: hv: serialize the present/eject work items

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; Jack > Morgenstein ; sta...@vger.kernel.org > Subject: [PATCH v3 3/6] PCI: hv: serialize the present/eject work items > > When we

RE: [PATCH v3 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg()

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; > sta...@vger.kernel.org; Jack Morgenstein > Subject: [PATCH v3 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg() > > 1.

RE: [PATCH v3 5/6] PCI: hv: hv_pci_devices_present(): only queue a new work when necessary

2018-03-09 Thread Haiyang Zhang
nel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com; Michael Kelley (EOSG) > ; Dexuan Cui ; Jack > Morgenstein ; sta...@vger.kernel.org > Subject: [PATCH v3 5/6] PCI: hv: hv_pci_devices_present(): only queue a new > work wh

RE: [PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path

2018-03-24 Thread Haiyang Zhang
> -Original Message- > From: Michael Kelley (EOSG) > Sent: Saturday, March 24, 2018 12:48 PM > To: Haiyang Zhang ; da...@davemloft.net; > net...@vger.kernel.org > Cc: KY Srinivasan ; Stephen Hemminger > ; o...@aepfle.de; vkuzn...@redhat.com; > de...@linuxdriverp

RE: [PATCH net-next, 2/2] hv_netvsc: Add range checking for rx packet offset and length

2018-03-27 Thread Haiyang Zhang
> -Original Message- > From: Stephen Hemminger > Sent: Tuesday, March 27, 2018 11:23 AM > To: Haiyang Zhang > Cc: Haiyang Zhang ; da...@davemloft.net; > net...@vger.kernel.org; o...@aepfle.de; Stephen Hemminger > ; linux-kernel@vger.kernel.org; > de...@linux

RE: [PATCH v7] Revert "PCI: hv: Use device serial number as PCI domain"

2018-04-12 Thread Haiyang Zhang
> -Original Message- > From: Sridhar Pitchai > Sent: Thursday, April 12, 2018 11:14 AM > To: Bjorn Helgaas ; Lorenzo Pieralisi > > Cc: Haiyang Zhang ; Dexuan Cui > ; Stephen Hemminger ; > Jake Oshins ; KY Srinivasan ; > Michael Kelley (EOSG) ; > de...

[PATCH net-next,0/2] hv_netvsc: Fix/improve RX path error handling

2018-03-22 Thread Haiyang Zhang
From: Haiyang Zhang Fix the status code returned to the host. Also add range check for rx packet offset and length. Haiyang Zhang (2): hv_netvsc: Fix the return status in RX path hv_netvsc: Add range checking for rx packet offset and length drivers/net/hyperv/hyperv_net.h | 1

[PATCH net-next,2/2] hv_netvsc: Add range checking for rx packet offset and length

2018-03-22 Thread Haiyang Zhang
From: Haiyang Zhang This patch adds range checking for rx packet offset and length. It may only happen if there is a host side bug. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 1 + drivers/net/hyperv/netvsc.c | 17 +++-- 2 files changed, 16 insertions

[PATCH net-next,1/2] hv_netvsc: Fix the return status in RX path

2018-03-22 Thread Haiyang Zhang
From: Haiyang Zhang As defined in hyperv_net.h, the NVSP_STAT_SUCCESS is one not zero. Some functions returns 0 when it actually means NVSP_STAT_SUCCESS. This patch fixes them. In netvsc_receive(), it puts the last RNDIS packet's receive status for all packets in a vmxferpage which may co

RE: [PATCH 2/3] Netvsc: Use the vmbus functiton to calculate ring buffer percentage

2018-03-23 Thread Haiyang Zhang
> -Original Message- > From: Long Li > Sent: Thursday, March 22, 2018 8:16 PM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > James E . J . Bottomley ; Martin K . Petersen > ; de...@linuxdriverproject.org; linux- > s...@vger.kernel.org; linux-ker

RE: [PATCH 1/3] Vmbus: Add function to report available ring buffer to write in total ring size percentage

2018-03-23 Thread Haiyang Zhang
> -Original Message- > From: Long Li > Sent: Thursday, March 22, 2018 8:16 PM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > James E . J . Bottomley ; Martin K . Petersen > ; de...@linuxdriverproject.org; linux- > s...@vger.kernel.org; linux-ker

RE: [PATCH net-next,2/2] hv_netvsc: Add range checking for rx packet offset and length

2018-03-23 Thread Haiyang Zhang
> -Original Message- > From: Vitaly Kuznetsov > Sent: Friday, March 23, 2018 11:17 AM > To: Haiyang Zhang > Cc: da...@davemloft.net; net...@vger.kernel.org; Haiyang Zhang > ; KY Srinivasan ; Stephen > Hemminger ; o...@aepfle.de; > de...@linuxdriverp

RE: Any known soft lockup issue with vfs_write()->fsnotify()?

2018-03-08 Thread Haiyang Zhang
ara ; Amir Goldstein > ; Miklos Szeredi ; Haiyang > Zhang ; 'linux-kernel@vger.kernel.org' ker...@vger.kernel.org>; Jork Loeser > Subject: Re: Any known soft lockup issue with vfs_write()->fsnotify()? > > Hi! > > On Fri 02-03-18 22:28:50, Dexuan Cui wrote: > &g

[PATCH net] hv_netvsc: Fix napi reschedule while receive completion is busy

2018-07-09 Thread Haiyang Zhang
From: Haiyang Zhang If out ring is full temporarily and receive completion cannot go out, we may still need to reschedule napi if other conditions are met. Otherwise the napi poll might be stopped forever, and cause network disconnect. Fixes: 7426b1a51803 ("netvsc: optimize receive comple

RE: [PATCH net] hv_netvsc: Fix napi reschedule while receive completion is busy

2018-07-09 Thread Haiyang Zhang
> -Original Message- > From: Stephen Hemminger > Sent: Monday, July 9, 2018 2:15 PM > To: Haiyang Zhang > Cc: Haiyang Zhang ; da...@davemloft.net; > net...@vger.kernel.org; o...@aepfle.de; Stephen Hemminger > ; linux-kernel@vger.kernel.org; > de...@linux

RE: [PATCH] PCI: hv: Do not wait forever on a device that has disappeared

2018-05-25 Thread Haiyang Zhang
pfle.de' ; > 'a...@canonical.com' ; 'jasow...@redhat.com' > > Cc: 'linux-kernel@vger.kernel.org' ; 'driverdev- > de...@linuxdriverproject.org' ; > Haiyang Zhang ; 'vkuzn...@redhat.com' > ; 'marcelo.ce...@canonical

RE: [PATCH] PCI: hv: Fix a __local_bh_enable_ip warning in hv_compose_msi_msg()

2018-05-25 Thread Haiyang Zhang
x-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org; > Haiyang Zhang ; vkuzn...@redhat.com; > marcelo.ce...@canonical.com > Subject: [PATCH] PCI: hv: Fix a __local_bh_enable_ip warning in > hv_compose_msi_msg() > > > Commit de0aa7b2f97d ("PCI: hv: Fix 2 hang issues

RE: [PATCH] hv_netvsc: fix typos in code comments

2019-01-03 Thread Haiyang Zhang
> -Original Message- > From: Adrian Vladu > Sent: Thursday, January 3, 2019 2:43 PM > To: linux-kernel@vger.kernel.org > Cc: Adrian Vladu ; KY Srinivasan > ; Haiyang Zhang ; Stephen > Hemminger ; Sasha Levin ; > David S. Miller ; apilotti > > Subject: [

RE: [PATCH 4.18 101/135] hv_netvsc: pair VF based on serial number

2018-10-16 Thread Haiyang Zhang
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Greg Kroah-Hartman > Sent: Tuesday, October 16, 2018 1:06 PM > To: linux-kernel@vger.kernel.org > Cc: Greg Kroah-Hartman ; > sta...@vger.kernel.org; Stephen Hemminger ; > David S. Miller ;

RE: [PATCH 4.18 101/135] hv_netvsc: pair VF based on serial number

2018-10-17 Thread Haiyang Zhang
> -Original Message- > From: Greg Kroah-Hartman > Sent: Wednesday, October 17, 2018 3:46 AM > To: Haiyang Zhang > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger > ; David S. Miller ; Sasha > Levin > Subject: Re: [PATCH 4.18 101

RE: [PATCH 4.18 101/135] hv_netvsc: pair VF based on serial number

2018-10-17 Thread Haiyang Zhang
> -Original Message- > From: Greg Kroah-Hartman > Sent: Wednesday, October 17, 2018 9:17 AM > To: Haiyang Zhang > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger > ; David S. Miller ; Sasha > Levin > Subject: Re: [PATCH 4.18 101

RE: [PATCH net-next, v2] hv_netvsc: fix vf serial matching with pci slot info

2018-10-12 Thread Haiyang Zhang
> -Original Message- > From: Stephen Hemminger > Sent: Friday, October 12, 2018 6:21 PM > To: Haiyang Zhang > Cc: Haiyang Zhang ; da...@davemloft.net; > net...@vger.kernel.org; o...@aepfle.de; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; vk

RE: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up

2018-11-01 Thread Haiyang Zhang
; > Michael Kelley ; vkuznets > Cc: Dexuan Cui ; KY Srinivasan ; > Haiyang Zhang ; sta...@vger.kernel.org > Subject: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by > incorrect clean-up > > From: Dexuan Cui > > In kvp_send_key(), we

[PATCH net,v2] hv_netvsc: Fix napi reschedule while receive completion is busy

2018-07-17 Thread Haiyang Zhang
From: Haiyang Zhang If out ring is full temporarily and receive completion cannot go out, we may still need to reschedule napi if certain conditions are met. Otherwise the napi poll might be stopped forever, and cause network disconnect. Fixes: 7426b1a51803 ("netvsc: optimize re

  1   2   3   4   5   >