Acked-by: Kai Ji <kai...@intel.com>
> -----Original Message-----
> From: Akhil Goyal <gak...@marvell.com>
> Sent: Wednesday, September 21, 2022 4:03 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; david.march...@redhat.com;
> hemant.agra...@nxp.com; vattun...@marvell.com;
> ferruh.yi...@xilinx.com; andrew.rybche...@oktetlabs.ru;
> konstantin.v.anan...@yandex.ru; jiawe...@trustnetic.com;
> yisen.zhu...@huawei.com; irussk...@marvell.com; jer...@marvell.com;
> adwiv...@marvell.com; maxime.coque...@redhat.com; cha...@amd.com;
> ruifeng.w...@arm.com; ajit.khapa...@broadcom.com;
> ano...@marvell.com; De Lara Guarch, Pablo
> <pablo.de.lara.gua...@intel.com>; ma...@nvidia.com; g.si...@nxp.com;
> Yang, Qiming <qiming.y...@intel.com>; Wu, Wenjun1
> <wenjun1...@intel.com>; jianw...@trustnetic.com; Wu, Jingjing
> <jingjing...@intel.com>; Xing, Beilei <beilei.x...@intel.com>;
> ndabilpu...@marvell.com; Zhang, Roy Fan <roy.fan.zh...@intel.com>;
> Akhil Goyal <gak...@marvell.com>
> Subject: [PATCH v2 2/6] crypto/scheduler: use unified session
>
> From: Fan Zhang <roy.fan.zh...@intel.com>
>
> 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 <roy.fan.zh...@intel.com>
> Signed-off-by: Akhil Goyal <gak...@marvell.com>
> ---