From: Ethan Zhao <ethan.z...@oracle.com> Date: Fri, 18 Jul 2014 11:43:29 +0800
> 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. > > Tested with last netxen 4.0.82 > Compiled with stable 3.15.6 > > Signed-off-by: Ethan Zhao <ethan.z...@oracle.com> > Tested-by: Sriharsha Yadagudde <sriharsha.dev...@oracle.com> ethtool stats are _NOT_ the place to duplicate normal netdev stats, PERIOD. The only exception is when you maintainer per-queue instaces of these stats, and want to export that information to the user. I'm not applying this, sorry. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/