Acked-by: Kai Ji <[email protected]>
> -----Original Message-----
> From: Akhil Goyal <[email protected]>
> Sent: Wednesday, September 21, 2022 4:03 PM
> To: [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; De Lara Guarch, Pablo
> <[email protected]>; [email protected]; [email protected];
> Yang, Qiming <[email protected]>; Wu, Wenjun1
> <[email protected]>; [email protected]; Wu, Jingjing
> <[email protected]>; Xing, Beilei <[email protected]>;
> [email protected]; Zhang, Roy Fan <[email protected]>;
> Akhil Goyal <[email protected]>
> Subject: [PATCH v2 2/6] crypto/scheduler: use unified session
>
> From: Fan Zhang <[email protected]>
>
> This patch updates the scheduler PMD to use unified session data structure.
> Previously thanks to the private session array in cryptodev sym session there
> are no necessary change needed for scheduler PMD other than the way ops
> are enqueued/dequeued. The patch inherits the same design in the original
> session data structure to the scheduler PMD so the cryptodev sym session
> can be as a linear buffer for both session header and driver private data.
>
> With the change there are inevitable extra cost on both memory
> (64 bytes per session per driver type) and cycle count (set the correct
> session
> for each cop based on the worker before enqueue, and retrieve the original
> session after dequeue).
>
> Signed-off-by: Fan Zhang <[email protected]>
> Signed-off-by: Akhil Goyal <[email protected]>
> ---