Bug 834

Summary: eventdev/eth_rx: callback not invoked in vector timeout case
Product: DPDK Reporter: s.v.naga.harish.k
Component: eventdevAssignee: Jerin (jerin.jacob)
Status: UNCONFIRMED ---    
Severity: major CC: ajit.khaparde
Priority: Normal    
Version: 21.08   
Target Milestone: ---   
Hardware: All   
OS: All   

Description s.v.naga.harish.k 2021-10-25 09:08:06 CEST
Hi all,

In Rx_adapter, 
the pending events vectors are checked in the service function for timeout case. Incase of timeout, the event is made ready by removing the event vector from the pending vector list and updating event buffer count in rxa_vector_expire function.
 
The rx_adapter registered callback function is not invoked inside rxa_vector_expire function for these timeout vectors.

The expected behavior is that, the callback function need to be invoked for all successful enqueued packets to event buffer.
Comment 1 Ajit Khaparde 2021-10-25 19:06:44 CEST
Jerin, Can you please take a look? Thanks
Comment 2 s.v.naga.harish.k 2021-12-08 10:55:45 CET
This is introduced by the following series:
https://patchwork.dpdk.org/project/dpdk/cover/20210220220957.4583-1-pbhagavatula@marvell.com/

The expected behavior is that, the callback function need to be invoked for all packets before enqueue to event buffer. The callback function may drop packets and they need not be in the vector.