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

2020-03-25 Thread David Marchand
On Thu, Mar 19, 2020 at 9:48 AM David Marchand wrote: > > On Mon, Mar 16, 2020 at 6:36 PM Bruce Richardson > 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 reco

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

2020-03-19 Thread David Marchand
On Mon, Mar 16, 2020 at 6:36 PM Bruce Richardson 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

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

2020-03-16 Thread Bruce Richardson
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 cal

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

2019-11-20 Thread Mit Matelske
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