> Subject: [PATCH] test: sync soft expiry check in inline IPsec
>
> Soft expiry events are delivered asynchronously via
> the err-ring polling thread. The test checked notify_event
> right after the RX loop, before the polling thread could
> process the err-ring entry — causing intermittent failures
> with fast algorithms where TX/RX completes faster than the
> polling thread's usleep() wake-up.
>
> Add a bounded poll loop after RX for soft expiry cases, using
> rte_io_rmb() to ensure cross-core visibility. Fix store ordering
> in the callback with rte_io_wmb() so that the event subtype is
> visible before notify_event is set.
>
> Fixes: 34e8a9d9b4f2 ("test/security: add inline IPsec SA soft expiry cases")
> Cc: [email protected]
>
> Signed-off-by: Aarnav JP <[email protected]>
Acked-by: Akhil Goyal <[email protected]>
Applied to dpdk-next-crypto
Thanks.