> -----Original Message-----
> From: Akhil Goyal <[email protected]>
> Sent: Monday, October 11, 2021 1:43 PM
> To: [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; [email protected]; De Lara Guarch, Pablo
> <[email protected]>; Trahe, Fiona <[email protected]>;
> Doherty, Declan <[email protected]>; [email protected];
> [email protected]; Zhang, Roy Fan <[email protected]>;
> [email protected]; [email protected]; [email protected];
> Ananyev, Konstantin <[email protected]>; Nicolau, Radu
> <[email protected]>; [email protected];
> [email protected]; [email protected]; Power, Ciara
> <[email protected]>; Akhil Goyal <[email protected]>
> Subject: [PATCH v2 2/5] cryptodev: allocate max space for internal qp array
>
> At queue_pair config stage, allocate memory for maximum
> number of queue pair pointers that a device can support.
>
> This will allow fast path APIs(enqueue_burst/dequeue_burst) to
> refer pointer to internal QP data without checking for currently
> configured QPs.
> This is required to hide the rte_cryptodev and rte_cryptodev_data
> structure from user.
>
> Signed-off-by: Akhil Goyal <[email protected]>
> ---
Acked-by: Fan Zhang <[email protected]>