[dpdk-dev] [PATCH v6 2/2] common/octeontx2: add polling based response mbox message

Thomas Monjalon thomas at monjalon.net
Tue Jan 14 11:17:31 CET 2020


14/01/2020 09:41, Jerin Jacob:
> On Fri, Dec 20, 2019 at 12:27 PM Sunil Kumar Kori <skori at marvell.com> wrote:
> >
> > Currently otx2_mbox_get_rsp_xxx get response once AF driver
> > interrupts after completion. But this funciton will get into
> 
> s/funciton/function
> 
> > deadlock if called in another interrupt context.
> >
> > To avoid it, implemented another version of this function which polls
> > on dedicated memory for a given timeout.
> >
> > Also after clearing interrupt, there could UP messages available for
> > processing. So irq handler must check mbox messages.
> >
> > Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> > Signed-off-by: Harman Kalra <hkalra at marvell.com>
> 
> With the above change:
> Acked-by: Jerin Jacob <jerinj at marvell.com>
> 
> @Thomas Monjalon  Since this patch has a dependency on an eal
> patch(1/2  eal: add API to check if its interrupt context), I am
> delegating this patch to EAL maintainer.

Yes, we don't split series.
So if there is an EAL change in a series, the whole series
must be merged in master.






More information about the dev mailing list