[dpdk-dev] [PATCH] eal/freebsd: fix queuing duplicate eal_alarm_callbacks

David Marchand david.marchand at redhat.com
Wed Mar 25 13:53:56 CET 2020


On Thu, Mar 19, 2020 at 9:48 AM David Marchand
<david.marchand at redhat.com> wrote:
>
> On Mon, Mar 16, 2020 at 6:36 PM Bruce Richardson
> <bruce.richardson at intel.com> wrote:
> >
> > On Wed, Nov 20, 2019 at 02:10:56PM -0600, Mit Matelske wrote:
> > > The source callback list grows infinitely when more than alarm
> > > is queued.
> > >
> > > This fix recognizes that an alarm interrupt in FreeBSD should never
> > > have more than one callback on its list, so if
> > > rte_intr_callback_register() is called with an interrupt handle type
> > > of RTE_INTR_HANDLE_ALARM, so if such an interrupt type already has a
> > > non-empty list, then a new callback is not created, but the kevent
> > > timer is restarted properly.
> > >

Fixes: 23150bd8d8a8 ("eal/bsd: add interrupt thread")
Cc: stable at dpdk.org

> > > Signed-off-by: Mit Matelske <mit at pt.net>
> > >
> > Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> >

Applied, thanks.

-- 
David Marchand



More information about the dev mailing list