[EXT] [PATCH v2 3/5] eventdev/crypto: fix wrong offset used while flushing events

Volodymyr Fialko vfialko at marvell.com
Mon Dec 5 12:35:23 CET 2022


> -----Original Message-----
> From: Ganapati Kundapura <ganapati.kundapura at intel.com>
> Sent: Thursday, December 1, 2022 7:47 AM
> To: dev at dpdk.org; Jerin Jacob Kollanukkaran <jerinj at marvell.com>; s.v.naga.harish.k at intel.com;
> abhinandan.gujjar at intel.com
> Cc: jay.jayatheerthan at intel.com
> Subject: [EXT] [PATCH v2 3/5] eventdev/crypto: fix wrong offset used while flushing events
> 
> External Email
> 
> ----------------------------------------------------------------------
> Events enqueued to eventdev from the beginning of the circular buffer.
> This leads to invalid or already freed events getting enqueued to eventdev from the circular buffer.
> 
> Fixed by enqueuing the events to eventdev from the head pointer of circular buffer.
> 
> Fixes: 7901eac3409a ("eventdev: add crypto adapter implementation")
> 
> Signed-off-by: Ganapati Kundapura <ganapati.kundapura at intel.com>
> ---
Acked-by: Volodymyr Fialko <vfialko at marvell.com>


More information about the dev mailing list