[PATCH 67/77] Staging: hv: netvsc: Cleanup error return codes in netvsc_device_add()

2011-06-17 Thread K. Y. Srinivasan
Use standard Linux error codes. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com --- drivers/staging/hv/netvsc.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git

[PATCH 59/77] Staging: hv: storvsc: Cleanup returned error code in storvsc_host_reset()

2011-06-17 Thread K. Y. Srinivasan
Use standard Linux error codes. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com --- drivers/staging/hv/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 56/77] Staging: hv: storvsc: Cleanup error handling in storvsc_do_io()

2011-06-17 Thread K. Y. Srinivasan
Use standard Linux error codes. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com --- drivers/staging/hv/storvsc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 2/5] staging: hv: remove unnecessary includes in netvsc

2011-06-17 Thread Haiyang Zhang
hyperv.h is included by hyperv_net.h already, so no need to include it again in these C files. Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Abhishek Kane v-abk...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com Signed-off-by: K. Y. Srinivasan

[PATCH 3/5] staging: hv: add newline to log messages in netvsc

2011-06-17 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Abhishek Kane v-abk...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/staging/hv/netvsc.c | 60 +++---

[PATCH 4/5] staging: hv: convert dev_loglevel to netdev_loglevel in netvsc

2011-06-17 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Abhishek Kane v-abk...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/staging/hv/netvsc.c | 71 +---

[PATCH 5/5] staging: hv: fix a kernel warning in netvsc_linkstatus_callback()

2011-06-17 Thread Haiyang Zhang
netif_notify_peers() is not allowed in netvsc_linkstatus_callback() on some distros, because netvsc_linkstatus_callback() is within IRQ context. So we move the first call to netif_notify_peers() into queued work as well, but with zero delay. This should also be back-ported to stable kernels

[PATCH 1/5] staging: hv: fix some white spaces in netvsc driver

2011-06-17 Thread Haiyang Zhang
Signed-off-by: Haiyang Zhang haiya...@microsoft.com Signed-off-by: Abhishek Kane v-abk...@microsoft.com Signed-off-by: Hank Janssen hjans...@microsoft.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/staging/hv/netvsc.c |8 drivers/staging/hv/netvsc_drv.c |2

Re: [PATCH 1/5] staging: hv: fix some white spaces in netvsc driver

2011-06-17 Thread Nicolas Kaiser
* Haiyang Zhang haiya...@microsoft.com: diff --git a/drivers/staging/hv/netvsc.c b/drivers/staging/hv/netvsc.c index 0ae35e7..b6e1fb9 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -525,10 +525,10 @@ int netvsc_send(struct hv_device *device,

Re: [PATCH] virtio-net: per cpu 64 bit stats

2011-06-17 Thread Stephen Hemminger
On Wed, 15 Jun 2011 21:33:16 +0300 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 15, 2011 at 11:43:37AM -0400, Stephen Hemminger wrote: Use per-cpu variables to maintain 64 bit statistics. Compile tested only. Signed-off-by: Stephen Hemminger shemmin...@vyatta.com

Re: [PATCH] virtio-net: per cpu 64 bit stats (v2)

2011-06-17 Thread David Miller
From: Stephen Hemminger shemmin...@vyatta.com Date: Wed, 15 Jun 2011 12:36:29 -0400 Use per-cpu variables to maintain 64 bit statistics. Signed-off-by: Stephen Hemminger shemmin...@vyatta.com I'll apply this, thanks. ___ Virtualization mailing list