lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 12 Jan 2011 22:18:06 +0100
From:	Jarek Poplawski <jarkao2@...il.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	David Miller <davem@...emloft.net>,
	David Brownell <david-b@...bell.net>,
	Neil Jones <neiljay@...il.com>, linux-usb@...r.kernel.org,
	netdev@...r.kernel.org,
	Alexander Duyck <alexander.h.duyck@...el.com>,
	Jeff Kirsher <jeffrey.t.kirsher@...el.com>,
	Michal Nazarewicz <mina86@...a86.com>
Subject: Re: [PATCH] net: remove dev_txq_stats_fold()


Btw, I updated Michal's email (according to linux-kernel).

Jarek P.

On Wed, Jan 12, 2011 at 10:05:18PM +0100, Jarek Poplawski wrote:
> On Wed, Jan 12, 2011 at 04:02:00PM +0100, Eric Dumazet wrote:
> > Le mercredi 12 janvier 2011 ?? 14:52 +0100, Eric Dumazet a écrit :
> > 
> > > Or even better, remove these counters since there is no users left but
> > > ixgbe.
> > > 
> > > (vlans, tunnels, ... now use percpu stats)
> > > 
> > > 
> > 
> > Thanks Jarek for the reminder :)
> > 
> > [PATCH] 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 & macvlan :
> 
> And gianfar (not counting staging/bcm) but I'm not sure if that's all.
> 
> > 
> > 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.
> 
> Btw, why doesn't sch_teql need locking (for 32-bits)?
> 
> Jarek P.
--
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