event/octeontx2: fix sub event type
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 29 Jun 2020 01:33:27 +0000 (07:03 +0530)
committerJerin Jacob <jerinj@marvell.com>
Tue, 30 Jun 2020 05:41:26 +0000 (07:41 +0200)
commit3c1a1c43cd93fa7c73a460d6f88ca5de7ca1e9c0
tree833b8427dc4c57b57feccdf4f93fd292e0f5d093
parent8b787cba705323ba79e35e0f19bfba51ab6d953a
event/octeontx2: fix sub event type

In OCTEONTX2 event device we use sub_event_type to store the ethernet
port identifier when we receive work from OCTEONTX2 ethernet device.
This violates the event device spec as sub_event_type should be 0 in
the initial receive stage.
Set sub_event_type to 0 after copying the port id.

Fixes: 0fe4accd8ec8 ("event/octeontx2: add Rx adapter fastpath ops")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/octeontx2/otx2_worker_dual.h