Skip to content

Commit aedfebb

Browse files
stxavierdavem330
authored andcommitted
be2net: Fix Rx pause counter for lancer
Fixed Rx pause counter for Lancer. Swapping hi and lo words. Signed-off-by: Selvin Xavier <[email protected]> Signed-off-by: Padmanabh Ratnakar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 324dd96 commit aedfebb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/benet/be_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ static void populate_lancer_stats(struct be_adapter *adapter)
362362
drvs->rx_priority_pause_frames = 0;
363363
drvs->pmem_fifo_overflow_drop = 0;
364364
drvs->rx_pause_frames =
365-
make_64bit_val(pport_stats->rx_pause_frames_lo,
366-
pport_stats->rx_pause_frames_hi);
365+
make_64bit_val(pport_stats->rx_pause_frames_hi,
366+
pport_stats->rx_pause_frames_lo);
367367
drvs->rx_crc_errors = make_64bit_val(pport_stats->rx_crc_errors_hi,
368368
pport_stats->rx_crc_errors_lo);
369369
drvs->rx_control_frames =

0 commit comments

Comments
 (0)