[v2] eventdev/eth_rx: sub event type gets reset
Checks
Commit Message
In rte_event_eth_rx_adapter_queue_add(), sub_event_type of
rte_event structure is reset which can be used by the
application to determine the processing function.
Removed resetting of rte_event::sub_event_type
Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel.com>
Acked-by: Jay Jayatheerthan <jay.jayatheerthan@intel.com>
@@ -2054,7 +2054,6 @@ rxa_add_queue(struct event_eth_rx_adapter *rx_adapter,
qi_ev->event = ev->event;
qi_ev->op = RTE_EVENT_OP_NEW;
qi_ev->event_type = RTE_EVENT_TYPE_ETH_RX_ADAPTER;
- qi_ev->sub_event_type = 0;
if (conf->rx_queue_flags &
RTE_EVENT_ETH_RX_ADAPTER_QUEUE_FLOW_ID_VALID) {