numam-dpdk/drivers/event
Pavan Nikhilesh 4a21216674 event/octeontx: fix partial Rx packet handling
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.

Fixes: d0d6549860 ("net/octeontx: support event Rx adapter")
Cc: stable@dpdk.org

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2019-11-27 19:05:18 +01:00
..
dpaa build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dpaa2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
dsw build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx event/octeontx: fix partial Rx packet handling 2019-11-27 19:05:18 +01:00
octeontx2 event/octeontx2: update start timestamp periodically 2019-11-26 07:49:30 +01:00
opdl build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
skeleton build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sw build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
Makefile event/octeontx2: add build infra and device probe 2019-07-03 06:55:44 +02:00
meson.build event/octeontx2: add build infra and device probe 2019-07-03 06:55:44 +02:00