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

Jerin Jacob jerinjacobk at gmail.com
Wed Nov 27 14:32:45 CET 2019


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?


More information about the dev mailing list