Dropped vs. missed packets in the ixgbe driver
Manish Vachharajani
manishv at lineratesystems.com
Wed Aug 19 18:46:06 UTC 2009
Agreed, the errors are reported but missed packets are not. The
question is, is the correct fix to just add stats.mpc[0] to if_ierrors
in that line or to add it to if_iqdrops. The fix is easy once we
agree on what the correct behavior is.
Manish
> Barney wrote:
>
> if you look in ixgbe_update_stats_counters at the bottom:
>
> ifp->if_ierrors = missed_rx + adapter->stats.crcerrs +
> adapter->stats.rlec;
>
> the errors are added in.
>
> BC
--
Manish Vachharajani
Founder
LineRate Systems
manishv at lineratesystems.com
(609)635-9531 M
More information about the freebsd-net
mailing list