ixgb: add RNBC counter - no buffer count - to ethtool stats
commitac0b3509f048b34ba1b60f164fd811b7cbdbc27a
authorAuke Kok <auke-jan.h.kok@intel.com>
Thu, 21 Feb 2008 23:10:41 +0000 (21 15:10 -0800)
committerJeff Garzik <jeff@garzik.org>
Sun, 24 Feb 2008 05:07:44 +0000 (24 00:07 -0500)
tree352b2a286614aee061eac930854532f65b656cb1
parent179956f498bd8cc55fb803c4ee0cf18be59c8b01
ixgb: add RNBC counter - no buffer count - to ethtool stats

This counter is valuable to determine if the system is unable
to timely return buffers to the hardware and this counter starts
to increase well before the hardware starts to drop packets. If
users experience rx_no_buffer_count increasing, they should increase
the amount of descriptors. That will provide more buffers for the
hardware and will decrease the chance of hard drops.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixgb/ixgb_ethtool.c