numam-dpdk/drivers
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
..
baseband build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
bus bus/pci: clear driver on detach 2019-11-21 00:18:02 +01:00
common net/octeontx: add application domain validation 2019-11-26 07:49:30 +01:00
compress build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
crypto crypto/ccp: fix digest size capabilities 2019-11-25 11:01:36 +01:00
event event/octeontx: fix partial Rx packet handling 2019-11-27 19:05:18 +01:00
mempool mempool/octeontx: add application domain validation 2019-11-26 07:49:30 +01:00
net net/mlx5: fix legacy inline multi-packet performance 2019-11-27 16:27:00 +01:00
raw remove blank lines at end of file 2019-11-26 00:12:08 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change ABI versioning to global 2019-11-20 23:05:39 +01:00