diff options
author | Pavan Nikhilesh <pbhagavatula@marvell.com> | 2019-11-27 18:06:47 +0530 |
---|---|---|
committer | Jerin Jacob <jerinj@marvell.com> | 2019-11-27 19:00:39 +0530 |
commit | 80b4cdd02905f796cde226d724206dfd10e63d35 (patch) | |
tree | c57b72516a09afab29f33c8f8c65d5228d5d96ad /app/test-eventdev/test_order_queue.c | |
parent | 2d0cfc0e0528bb6be3676032a2d0573d7c3b3999 (diff) | |
download | dpdk-next-eventdev-master.zip dpdk-next-eventdev-master.tar.gz dpdk-next-eventdev-master.tar.xz |
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: d0d654986018 ("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>
Diffstat (limited to 'app/test-eventdev/test_order_queue.c')
0 files changed, 0 insertions, 0 deletions