[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110113.214504.37217354.davem@davemloft.net>
Date: Thu, 13 Jan 2011 21:45:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: jarkao2@...il.com, david-b@...bell.net, neiljay@...il.com,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
alexander.h.duyck@...el.com, jeffrey.t.kirsher@...el.com,
mina86@...a86.com, sandeep.kumar@...escale.com
Subject: Re: [PATCH] net: remove dev_txq_stats_fold()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 12 Jan 2011 23:13:14 +0100
> [PATCH v2] net: remove dev_txq_stats_fold()
>
> After recent changes, (percpu stats on vlan/tunnels...), we dont need
> anymore per struct netdev_queue tx_bytes/tx_packets/tx_dropped counters.
>
> Only remaining users are ixgbe, sch_teql, gianfar & macvlan :
>
> 1) ixgbe can be converted to use existing tx_ring counters.
>
> 2) macvlan incremented txq->tx_dropped, it can use the
> dev->stats.tx_dropped counter.
>
> 3) sch_teql : almost revert ab35cd4b8f42 (Use net_device internal stats)
> Now we have ndo_get_stats64(), use it, even for "unsigned long"
> fields (No need to bring back a struct net_device_stats)
>
> 4) gianfar adds a stats structure per tx queue to hold
> tx_bytes/tx_packets
>
> This removes a lockdep warning (and possible lockup) in rndis gadget,
> calling dev_get_stats() from hard IRQ context.
>
> Ref: http://www.spinics.net/lists/netdev/msg149202.html
>
> Reported-by: Neil Jones <neiljay@...il.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: Jarek Poplawski <jarkao2@...il.com>
> CC: Alexander Duyck <alexander.h.duyck@...el.com>
> CC: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
> CC: Sandeep Gopalpet <sandeep.kumar@...escale.com>
> CC: Michal Nazarewicz <mina86@...a86.com>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists