numam-dpdk/drivers/event/octeontx
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
..
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build build: add libatomic dependency for 32-bit clang 2019-06-03 23:57:43 +02:00
rte_pmd_octeontx_event_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
ssovf_evdev_selftest.c event/octeontx: support device stop flush callback 2018-04-16 10:10:23 +02:00
ssovf_evdev.c common/octeontx: update mbox to version 1.1.3 2019-11-26 07:49:30 +01:00
ssovf_evdev.h use registered name for OCTEON TX references 2018-10-26 14:16:05 +02:00
ssovf_probe.c net/octeontx: add application domain validation 2019-11-26 07:49:30 +01:00
ssovf_worker.c event/octeontx: support Tx adapter 2018-10-01 16:52:07 +02:00
ssovf_worker.h event/octeontx: fix partial Rx packet handling 2019-11-27 19:05:18 +01:00
timvf_evdev.c event/octeontx: add appication domain validation 2019-11-26 07:49:30 +01:00
timvf_evdev.h event/octeontx: add appication domain validation 2019-11-26 07:49:30 +01:00
timvf_probe.c event/octeontx: add appication domain validation 2019-11-26 07:49:30 +01:00
timvf_worker.c event/octeontx: fix SPDX tag placement 2018-05-10 14:03:25 +02:00
timvf_worker.h event/octeontx: add option to use fpavf as chunk pool 2018-04-16 11:27:15 +02:00