mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't include the short-frames counter in with the input errors. This
counter is incremented on all short frames, including those that are the result of collisions.
This commit is contained in:
parent
350a9f017e
commit
6e39e59963
2 changed files with 2 additions and 6 deletions
|
|
@ -675,8 +675,7 @@ fxp_stats_update(arg)
|
|||
sp->rx_crc_errors +
|
||||
sp->rx_alignment_errors +
|
||||
sp->rx_rnr_errors +
|
||||
sp->rx_overrun_errors +
|
||||
sp->rx_shortframes;
|
||||
sp->rx_overrun_errors;
|
||||
/*
|
||||
* If any transmit underruns occured, bump up the transmit
|
||||
* threshold by another 512 bytes (64 * 8).
|
||||
|
|
@ -713,7 +712,6 @@ fxp_stats_update(arg)
|
|||
sp->rx_alignment_errors = 0;
|
||||
sp->rx_rnr_errors = 0;
|
||||
sp->rx_overrun_errors = 0;
|
||||
sp->rx_shortframes = 0;;
|
||||
}
|
||||
/*
|
||||
* Schedule another timeout one second from now.
|
||||
|
|
|
|||
|
|
@ -675,8 +675,7 @@ fxp_stats_update(arg)
|
|||
sp->rx_crc_errors +
|
||||
sp->rx_alignment_errors +
|
||||
sp->rx_rnr_errors +
|
||||
sp->rx_overrun_errors +
|
||||
sp->rx_shortframes;
|
||||
sp->rx_overrun_errors;
|
||||
/*
|
||||
* If any transmit underruns occured, bump up the transmit
|
||||
* threshold by another 512 bytes (64 * 8).
|
||||
|
|
@ -713,7 +712,6 @@ fxp_stats_update(arg)
|
|||
sp->rx_alignment_errors = 0;
|
||||
sp->rx_rnr_errors = 0;
|
||||
sp->rx_overrun_errors = 0;
|
||||
sp->rx_shortframes = 0;;
|
||||
}
|
||||
/*
|
||||
* Schedule another timeout one second from now.
|
||||
|
|
|
|||
Loading…
Reference in a new issue