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  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Jul 2014 18:21:44 +0000
From:	Rajesh Borundia <>
To:	Ethan Zhao <>,
	Manish Chopra <>,
	Sony Chacko <>,
	netdev <>
CC:	linux-kernel <>,
	"" <>
Subject: RE: [PATCH V3] netxen: fix ethtool rx_dropped information in
 ethtool get_ethtool_stats()

> -----Original Message-----
> From: Ethan Zhao []
> Sent: Friday, July 18, 2014 9:13 AM
> To: Manish Chopra; Sony Chacko; Rajesh Borundia; netdev
> Cc: linux-kernel;; Ethan Zhao
> Subject: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool
> get_ethtool_stats()
> netxen driver has implemented netxen_nic_get_ethtool_stats() interface,
> but it doesn't collect stats.rxdropped in driver, so we will get different
> rx_dropped statistic information while using ifconfig and ethtool.
> this patch fills stats.rxdropped field with data from net core with
> dev_get_stats() just as ixgbe driver did for some of its stats.

I think ethtool stats are adapter specific. Driver does not maintain
rx_dropped stats and we also don't get it from adapter.  I am not
sure if ethtool stats should match ifconfig stats as ifconfig also
adds net core stats to adapter stats.

If ethtool stats should report same values as ifconfig stats then
we may also need to fix tx_dropped statistics.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists