Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 12:40:12 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Arnaud Lacombe <lacombar@gmail.com>
Cc:        freebsd-net@freebsd.org, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: Queue drop not accounted ?
Message-ID:  <20110916194012.GB9916@michelle.cdnetworks.com>
In-Reply-To: <CACqU3MWYa7awOO0x1jPNyXq2gccYAL%2B5wzkE6nOqsNGdP0GyeA@mail.gmail.com>
References:  <CACqU3MWYa7awOO0x1jPNyXq2gccYAL%2B5wzkE6nOqsNGdP0GyeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 15, 2011 at 09:25:19PM -0400, Arnaud Lacombe wrote:
> Hi,
> 
> Shouldn't packet freed in IFQ_ENQUEUE() because the queue is full be
> accounted as dropped, cf attached patch ?
> 

Hmm, I think err would be set to ENOBUFS for queue full case and
this err will crease ifq_drops.

> Thanks,
>  - Arnaud



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110916194012.GB9916>