Re: [PATCH v1] eventdev/crypto: refactor circular buffer size

2023-05-17 Thread Jerin Jacob
c: Naga Harish K, S V ; Jayatheerthan, Jay > > > > Subject: [PATCH v1] eventdev/crypto: refactor circular buffer size > > > > In case of CRYPTO_ADAPTER_OPS_BUFFER_SZ is modified, > > eca_circular_buffer_space_for_batch() also needs to be updated to check > > maximum number

RE: [PATCH v1] eventdev/crypto: refactor circular buffer size

2023-05-16 Thread Gujjar, Abhinandan S
> -Original Message- > From: Kundapura, Ganapati > Sent: Tuesday, April 18, 2023 2:46 PM > To: jer...@marvell.com; Gujjar, Abhinandan S > ; dev@dpdk.org > Cc: Naga Harish K, S V ; Jayatheerthan, Jay > > Subject: [PATCH v1] eventdev/crypto: refactor circular buf

[PATCH v1] eventdev/crypto: refactor circular buffer size

2023-04-18 Thread Ganapati Kundapura
In case of CRYPTO_ADAPTER_OPS_BUFFER_SZ is modified, eca_circular_buffer_space_for_batch() also needs to be updated to check maximum number of crypto ops can be accommodated in circular buffer when CPM becomes busy. Defined MAX_OPS_IN_BUFFER which contains size for batch of dequeued events and red