Bug 834 - eventdev/eth_rx: callback not invoked in vector timeout case
Summary: eventdev/eth_rx: callback not invoked in vector timeout case
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: eventdev (show other bugs)
Version: 21.08
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Jerin
URL:
Depends on:
Blocks:
 
Reported: 2021-10-25 09:08 CEST by s.v.naga.harish.k
Modified: 2021-12-08 10:55 CET (History)
1 user (show)



Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.