netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] ixgb: add RNBC counter - no buffer count - to ethtool stats
@ 2008-02-21 23:10 Auke Kok
  2008-02-21 23:10 ` [PATCH 2/7] e1000e: 82573 can use eerd method to read eeprom Auke Kok
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Auke Kok @ 2008-02-21 23:10 UTC (permalink / raw)
  To: jeff; +Cc: e1000-devel, netdev

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>
---

 drivers/net/ixgb/ixgb_ethtool.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ixgb/ixgb_ethtool.c b/drivers/net/ixgb/ixgb_ethtool.c
index 53a9fd0..75f3a68 100644
--- a/drivers/net/ixgb/ixgb_ethtool.c
+++ b/drivers/net/ixgb/ixgb_ethtool.c
@@ -67,6 +67,7 @@ static struct ixgb_stats ixgb_gstrings_stats[] = {
 	{"rx_over_errors", IXGB_STAT(net_stats.rx_over_errors)},
 	{"rx_crc_errors", IXGB_STAT(net_stats.rx_crc_errors)},
 	{"rx_frame_errors", IXGB_STAT(net_stats.rx_frame_errors)},
+	{"rx_no_buffer_count", IXGB_STAT(stats.rnbc)},
 	{"rx_fifo_errors", IXGB_STAT(net_stats.rx_fifo_errors)},
 	{"rx_missed_errors", IXGB_STAT(net_stats.rx_missed_errors)},
 	{"tx_aborted_errors", IXGB_STAT(net_stats.tx_aborted_errors)},


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-24  5:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 23:10 [PATCH 1/7] ixgb: add RNBC counter - no buffer count - to ethtool stats Auke Kok
2008-02-21 23:10 ` [PATCH 2/7] e1000e: 82573 can use eerd method to read eeprom Auke Kok
2008-02-21 23:10 ` [PATCH 3/7] e1000e: fix link up message to show ethX: Auke Kok
2008-02-21 23:10 ` [PATCH 4/7] e1000e: fix flow control when using ethtool overrides Auke Kok
2008-02-21 23:11 ` [PATCH 5/7] e1000e: fix flow control denial of service possibility Auke Kok
2008-02-21 23:11 ` [PATCH 6/7] e1000e: fix spelling errors in comments Auke Kok
2008-02-21 23:11 ` [PATCH 7/7] e1000e: remove unused read value in ASPM disable code Auke Kok
2008-02-24  5:11   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).