> Hi All, > > I wrote a small tool[1] to extract ethtool --statistics|-S, sample and > present it in a more human readable manor. You might also find this > useful... > > https://github.com/netoptimizer/network-testing/blob/master/bin/ethtool_stats.pl > > The reason I wrote this script is that the mlx5 driver (Mellanox 100 Gbit/s) > does not report correct ifconfig stats. It reports the HW counters, > not what the network stack is able to handle. I/we obviously need the > stack number when working on improving the stack.
mlx5 drive does not report correct counters also in ethtool statistics (ethtool -S). ethtool statistics reports also the HW counters, so all counters except counters per channel are wrong. We are working on fix. It will be available soon. > > -- > Best regards, > Jesper Dangaard Brouer > MSc.CS, Principal Kernel Engineer at Red Hat > Author of http://www.iptv-analyzer.org > LinkedIn: http://www.linkedin.com/in/brouer >