netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ucc_geth_ethtool: Fix a few HW stats counters.
@ 2008-05-13  8:04 Joakim Tjernlund
  2008-05-14 10:37 ` Li Yang
  2008-05-22 18:06 ` Jeff Garzik
  0 siblings, 2 replies; 9+ messages in thread
From: Joakim Tjernlund @ 2008-05-13  8:04 UTC (permalink / raw)
  To: Netdev, Li Yang; +Cc: Joakim Tjernlund

Noticed that ethtool -S didn't display tx-xxx-frames correctly.
Fix it and a few others while I am there. Strangely, the
rx-jumbo-frames counter still counts pkgs even though I think
there isn't any packtes above 1518.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---

Havn't seen this go in or ACK/NACK. Resending.

 drivers/net/ucc_geth_ethtool.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index a995a3a..0eddf50 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -60,7 +60,6 @@ static char hw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"rx-broadcast-frames",
 	"stats-counter-carry",
 	"stats-counter-mask",
-	"rx-dropped-frames",
 };
 
 static char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
@@ -73,6 +72,7 @@ static char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"tx-frames-ok",
 	"tx-excessive-differ-frames",
 	"tx-256-511-frames",
+	"tx-512-1023-frames",
 	"tx-1024-1518-frames",
 	"tx-jumbo-frames",
 };
@@ -101,7 +101,6 @@ static char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"rx-vlan-removed",
 	"rx-vlan-replaced",
 	"rx-vlan-inserted",
-	"rx-ip-checksum-errors",
 };
 
 #define UEC_HW_STATS_LEN ARRAY_SIZE(hw_stat_gstrings)
-- 
1.5.5.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [PATCH] ucc_geth_ethtool: Fix a few HW stats counters.
@ 2008-04-29 12:59 Joakim Tjernlund
  0 siblings, 0 replies; 9+ messages in thread
From: Joakim Tjernlund @ 2008-04-29 12:59 UTC (permalink / raw)
  To: Li Yang, Netdev; +Cc: Joakim Tjernlund

Noticed that ethtool -S didn't display tx-xxx-frames correctly.
Fix it and a few others while I am there. Strangely, the
rx-jumbo-frames counter still counts pkgs even though I think
there isn't any packtes above 1518.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
---
 drivers/net/ucc_geth_ethtool.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index a995a3a..0eddf50 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -60,7 +60,6 @@ static char hw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"rx-broadcast-frames",
 	"stats-counter-carry",
 	"stats-counter-mask",
-	"rx-dropped-frames",
 };
 
 static char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
@@ -73,6 +72,7 @@ static char tx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"tx-frames-ok",
 	"tx-excessive-differ-frames",
 	"tx-256-511-frames",
+	"tx-512-1023-frames",
 	"tx-1024-1518-frames",
 	"tx-jumbo-frames",
 };
@@ -101,7 +101,6 @@ static char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
 	"rx-vlan-removed",
 	"rx-vlan-replaced",
 	"rx-vlan-inserted",
-	"rx-ip-checksum-errors",
 };
 
 #define UEC_HW_STATS_LEN ARRAY_SIZE(hw_stat_gstrings)
-- 
1.5.5.1


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

end of thread, other threads:[~2008-05-23  9:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13  8:04 [PATCH] ucc_geth_ethtool: Fix a few HW stats counters Joakim Tjernlund
2008-05-14 10:37 ` Li Yang
2008-05-14 10:49   ` Joakim Tjernlund
2008-05-15  3:03     ` Li Yang
2008-05-22 18:06 ` Jeff Garzik
2008-05-23  3:04   ` Li Yang
2008-05-23  7:21     ` Joakim Tjernlund
2008-05-23  9:47       ` Li Yang
  -- strict thread matches above, loose matches on Subject: below --
2008-04-29 12:59 Joakim Tjernlund

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