Date: Wed, 19 Aug 2009 12:46:02 -0600 From: Manish Vachharajani <manishv@lineratesystems.com> To: Barney Cordoba <barney_cordoba@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: Dropped vs. missed packets in the ixgbe driver Message-ID: <5bc218350908191146j2a22f8dcrdecb0b67eedce5c2@mail.gmail.com> In-Reply-To: <822688.18516.qm@web63903.mail.re1.yahoo.com> References: <5bc218350908181535o7c5275dfn2f6647454cfac804@mail.gmail.com> <822688.18516.qm@web63903.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > > =A0 =A0 =A0 =A0ifp->if_ierrors =3D missed_rx + adapter->stats.crcerrs + > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0adapter->stats.rlec; > > the errors are added in. > > BC --=20 Manish Vachharajani Founder LineRate Systems manishv@lineratesystems.com (609)635-9531 M
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5bc218350908191146j2a22f8dcrdecb0b67eedce5c2>