aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAjit Khaparde <ajit.khaparde@emulex.com>2011-12-09 08:53:09 -0500
committerDavid S. Miller <davem@davemloft.net>2011-12-11 18:25:15 -0500
commit02fe7027961969a052fbbe453304f329d4e9735a (patch)
tree0abfc09966fd7ead08aac0c92d7e29c35b6cf388
parent86e62ad6b2a49064a078d7f22fa81afdaecc1187 (diff)
be2net: update some counters to display via ethtool
update pmem_fifo_overflow_drop, rx_priority_pause_frames counters. Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index b8a526f9efc8..73fe38928c2b 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -316,6 +316,8 @@ static void populate_be3_stats(struct be_adapter *adapter)
316 struct be_drv_stats *drvs = &adapter->drv_stats; 316 struct be_drv_stats *drvs = &adapter->drv_stats;
317 317
318 be_dws_le_to_cpu(hw_stats, sizeof(*hw_stats)); 318 be_dws_le_to_cpu(hw_stats, sizeof(*hw_stats));
319 drvs->pmem_fifo_overflow_drop = port_stats->pmem_fifo_overflow_drop;
320 drvs->rx_priority_pause_frames = port_stats->rx_priority_pause_frames;
319 drvs->rx_pause_frames = port_stats->rx_pause_frames; 321 drvs->rx_pause_frames = port_stats->rx_pause_frames;
320 drvs->rx_crc_errors = port_stats->rx_crc_errors; 322 drvs->rx_crc_errors = port_stats->rx_crc_errors;
321 drvs->rx_control_frames = port_stats->rx_control_frames; 323 drvs->rx_control_frames = port_stats->rx_control_frames;