> -----Original Message----- > From: Shijith Thotton <sthot...@marvell.com> > Sent: Tuesday, March 21, 2023 12:20 AM > To: Carrillo, Erik G <erik.g.carri...@intel.com>; jer...@marvell.com > Cc: Shijith Thotton <sthot...@marvell.com>; dev@dpdk.org; > pbhagavat...@marvell.com; sta...@dpdk.org > Subject: [PATCH v2] eventdev/timer: fix timeout event wait behavior > > Improved the accuracy and consistency of timeout event wait behavior by > refactoring it. Previously, the delay function used for waiting could be > inaccurate, leading to inconsistent results. This commit updates the wait > behavior to use a timeout-based approach, enabling the wait for the exact > number of timer ticks before proceeding. > > The new function timeout_event_dequeue mimics the behavior of the > tested systems closely. It dequeues timer expiry events until either the > expected number of events have been dequeued or the specified time has > elapsed. The WAIT_TICKS macro defines the waiting behavior based on the > type of timer being used (software or hardware). > > Fixes: d1f3385d0076 ("test: add event timer adapter auto-test") > > Signed-off-by: Shijith Thotton <sthot...@marvell.com> Thanks for the update.
Acked-by: Erik Gabriel Carrillo <erik.g.carri...@intel.com>