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
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
Use per-cpu variables to maintain 64 bit statistics.
Compile tested only.
Signed-off-by: Stephen Hemminger shemmin...@vyatta.com
--- a/drivers/net/virtio_net.c 2011-06-14 15:18:46.448596355 -0400
+++ b/drivers/net/virtio_net.c 2011-06-15 09:54:22.914426067 -0400
@@ -40,6 +40,15 @@
Le mercredi 15 juin 2011 à 11:43 -0400, Stephen Hemminger a écrit :
Use per-cpu variables to maintain 64 bit statistics.
Compile tested only.
Signed-off-by: Stephen Hemminger shemmin...@vyatta.com
--- a/drivers/net/virtio_net.c2011-06-14 15:18:46.448596355 -0400
+++
Use per-cpu variables to maintain 64 bit statistics.
Signed-off-by: Stephen Hemminger shemmin...@vyatta.com
--- a/drivers/net/virtio_net.c 2011-06-14 15:18:46.448596355 -0400
+++ b/drivers/net/virtio_net.c 2011-06-15 12:02:54.860667443 -0400
@@ -40,6 +40,15 @@ module_param(gso, bool, 0444);
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
Interesting. Does this help speed at all?
--- a/drivers/net/virtio_net.c2011-06-14