All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] e100:  Show short v/s long rx lengh errors in ethtool stats.
@ 2012-02-16 18:56 greearb
  2012-02-17  0:09 ` Jeff Kirsher
  0 siblings, 1 reply; 2+ messages in thread
From: greearb @ 2012-02-16 18:56 UTC (permalink / raw)
  To: netdev; +Cc: jeffrey.t.kirsher, Ben Greear

From: Ben Greear <greearb@candelatech.com>

Signed-off-by: Ben Greear <greearb@candelatech.com>
---
:100644 100644 db20a36... 6bd072d... M	drivers/net/ethernet/intel/e100.c
 drivers/net/ethernet/intel/e100.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c
index db20a36..6bd072d 100644
--- a/drivers/net/ethernet/intel/e100.c
+++ b/drivers/net/ethernet/intel/e100.c
@@ -2660,6 +2660,7 @@ static const char e100_gstrings_stats[][ETH_GSTRING_LEN] = {
 	"tx_deferred", "tx_single_collisions", "tx_multi_collisions",
 	"tx_flow_control_pause", "rx_flow_control_pause",
 	"rx_flow_control_unsupported", "tx_tco_packets", "rx_tco_packets",
+	"rx_short_frame_errors", "rx_over_length_errors",
 };
 #define E100_NET_STATS_LEN	21
 #define E100_STATS_LEN	ARRAY_SIZE(e100_gstrings_stats)
@@ -2693,6 +2694,8 @@ static void e100_get_ethtool_stats(struct net_device *netdev,
 	data[i++] = nic->rx_fc_unsupported;
 	data[i++] = nic->tx_tco_frames;
 	data[i++] = nic->rx_tco_frames;
+	data[i++] = nic->rx_short_frame_errors;
+	data[i++] = nic->rx_over_length_errors;
 }
 
 static void e100_get_strings(struct net_device *netdev, u32 stringset, u8 *data)
-- 
1.7.3.4

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

* Re: [PATCH] e100:  Show short v/s long rx lengh errors in ethtool stats.
  2012-02-16 18:56 [PATCH] e100: Show short v/s long rx lengh errors in ethtool stats greearb
@ 2012-02-17  0:09 ` Jeff Kirsher
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Kirsher @ 2012-02-17  0:09 UTC (permalink / raw)
  To: greearb; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 408 bytes --]

On Thu, 2012-02-16 at 10:56 -0800, greearb@candelatech.com wrote:
> From: Ben Greear <greearb@candelatech.com>
> 
> Signed-off-by: Ben Greear <greearb@candelatech.com>
> ---
> :100644 100644 db20a36... 6bd072d...
> M  drivers/net/ethernet/intel/e100.c
>  drivers/net/ethernet/intel/e100.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-) 

Thanks Ben, it has been added to my queue.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-02-17  0:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-16 18:56 [PATCH] e100: Show short v/s long rx lengh errors in ethtool stats greearb
2012-02-17  0:09 ` Jeff Kirsher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.