Date: Sun, 15 Dec 2013 01:40:22 -0500 From: Ryan Stone <rysto32@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: buf_ring in HEAD is racy Message-ID: <CAFMmRNz9P9ZnCRFEEdAgPxzaCUXFts=5Rs64zi3x=BDJa_7nWQ@mail.gmail.com> In-Reply-To: <CAJ-VmonJG-M_f_m36f-z3ArumBKNdt5%2B6muwFJzWABRxRQWJaw@mail.gmail.com> References: <CAFMmRNyJpvZ0AewWr62w16=qKer%2BFNXUJJy0Qc=EBqMnUV3OyQ@mail.gmail.com> <CAJ-VmonJG-M_f_m36f-z3ArumBKNdt5%2B6muwFJzWABRxRQWJaw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 14, 2013 at 7:06 PM, Adrian Chadd <adrian@freebsd.org> wrote: > oh cool, you just did the output-drops thing I was about to code up. > We're missing those counters at work and the ops guys poked me about > it. > > I'll also give that a whirl locally and see about working with jack to > get it into -HEAD / MFC'ed to 10. > > Thanks! The reason why I call it hacky is because these drops are properly categorized as discards, not errors. But there's not currently a really good way to distinguish between the two in FreeBSD right now (there is the drops counter in the if_snd queue but netstat seemed to be ignoring that even with -d specified and blindly overwriting it would seem to be incompatible with altq anyway)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNz9P9ZnCRFEEdAgPxzaCUXFts=5Rs64zi3x=BDJa_7nWQ>