Dropped vs. missed packets in the ixgbe driver

Barney Cordoba barney_cordoba at yahoo.com
Thu Aug 20 12:49:39 UTC 2009



--- On Wed, 8/19/09, Manish Vachharajani <manishv at lineratesystems.com> wrote:

> From: Manish Vachharajani <manishv at lineratesystems.com>
> Subject: Re: Dropped vs. missed packets in the ixgbe driver
> To: "Barney Cordoba" <barney_cordoba at yahoo.com>
> Cc: freebsd-net at freebsd.org
> Date: Wednesday, August 19, 2009, 2:46 PM
> 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

Huh? missed_rx are the missed packets. So they are counted.

BC


      



More information about the freebsd-net mailing list