lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1209473970-432-1-git-send-email-Joakim.Tjernlund@transmode.se>
Date:	Tue, 29 Apr 2008 14:59:30 +0200
From:	Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>
To:	Li Yang <LeoLi@...escale.com>, Netdev <netdev@...r.kernel.org>
Cc:	Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>
Subject: [PATCH] ucc_geth_ethtool: Fix a few HW stats counters.

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@...nsmode.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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ