Re: [PATCH] [NET] reduce per cpu ram used for loopback stats

2006-10-18 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 18 Oct 2006 18:35:48 +0200 Applied Eric, but the file paths in your patch were bogus and needed to be fixed up: > --- linux/drivers/net/loopback.c 2006-10-18 17:28:20.0 +0200 > +++ linux-eddrivers/net/loopback.c2006-10-18 18:26:41

[PATCH] [NET] reduce per cpu ram used for loopback stats

2006-10-18 Thread Eric Dumazet
We dont need a full struct net_device_stats (currently 23 long : 184 bytes on x86_64) per possible CPU, but only two counters : bytes and packets We save few CPU cycles too in loopback_xmit() not updating 4 fields, but 2. Signed-off-by: Eric Dumazet <[EMAIL PROTECTED]> --- linux/drivers/net/loo