Messages in this thread |  | | | Subject | Re: [PATCH 5/6] tuntap: per queue 64 bit stats | | From | Eric Dumazet <> | | Date | Tue, 26 Jun 2012 08:10:16 +0200 |
| |
On Tue, 2012-06-26 at 14:00 +0800, Jason Wang wrote:
> Yes, looks like it's hard to use NETIF_F_LLTX without breaking the u64 > statistics, may worth to use tx lock and alloc_netdev_mq().
Yes, this probably needs percpu storage (if you really want to use include/linux/u64_stats_sync.h).
But percpu storage seems a bit overkill with a raising number of cpus on typical machines.
For loopback device, its fine because we only have one lo device per network namespace, and some workloads really hit hard this device.
But for tuntap, I am not sure ?
|  |