aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@emulex.com>2011-06-05 22:27:13 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-07 01:53:52 -0400
commitaedfebbaa7a4883dc568d8d32b7b32a0f9833f41 (patch)
tree845dc6d8dc9b5331ad530afe66fe131ecf109916
parent324dd96d2b022595b9fc8f24305b3ab770cc63b9 (diff)
be2net: Fix Rx pause counter for lancer
Fixed Rx pause counter for Lancer. Swapping hi and lo words. Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com> Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/benet/be_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 5824c95c7843..9ba197b09788 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -362,8 +362,8 @@ static void populate_lancer_stats(struct be_adapter *adapter)
362 drvs->rx_priority_pause_frames = 0; 362 drvs->rx_priority_pause_frames = 0;
363 drvs->pmem_fifo_overflow_drop = 0; 363 drvs->pmem_fifo_overflow_drop = 0;
364 drvs->rx_pause_frames = 364 drvs->rx_pause_frames =
365 make_64bit_val(pport_stats->rx_pause_frames_lo, 365 make_64bit_val(pport_stats->rx_pause_frames_hi,
366 pport_stats->rx_pause_frames_hi); 366 pport_stats->rx_pause_frames_lo);
367 drvs->rx_crc_errors = make_64bit_val(pport_stats->rx_crc_errors_hi, 367 drvs->rx_crc_errors = make_64bit_val(pport_stats->rx_crc_errors_hi,
368 pport_stats->rx_crc_errors_lo); 368 pport_stats->rx_crc_errors_lo);
369 drvs->rx_control_frames = 369 drvs->rx_control_frames =