[dpdk-dev] [PATCH v2] event/octeontx: fix partial Rx packet handling

Thomas Monjalon thomas at monjalon.net
Wed Nov 27 19:07:18 CET 2019


27/11/2019 14:32, Jerin Jacob:
> On Wed, Nov 27, 2019 at 9:36 PM <pbhagavatula at marvell.com> wrote:
> >
> > From: Pavan Nikhilesh <pbhagavatula at marvell.com>
> >
> > When net/octeontx is connected to event/octeontx as an event Rx adapter,
> > PKI aka 'net/octeontx' can forward packets directly to SSO aka
> > 'event/octeontx'.
> > When pumping traffic to PKI if flow control is disabled internal FIFOs
> > might be overrun causing partial l2 packets to be enqueued.
> > SSO receives <31:0> TAG tag calculated by PKI, in normal cases <31:28>
> > is always 0 which signifies RTE_EVENT_TYPE_ETHDEV. But in case of
> > partial received packets PKI sets the <31:0> TAG as 0xFFFFFFFF which
> > is an invalid event type.
> >
> > Add a check to see if TAG is 0xFFFFFFFF and free the partial receive
> > packet.
> >
> > Cc: stable at dpdk.org
> > Fixes: d0d654986018 ("net/octeontx: support event Rx adapter")
> 
> Corrected the Cc: order.
> 
> >
> > Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
> 
> Acked-by: Jerin Jacob <jerinj at marvell.com>
> Applied to dpdk-next-eventdev/master. Thanks.
> 
> @Thomas, It is possible to pull this patch from next-eventdev?

Applied, thanks




More information about the dev mailing list