[dpdk-dev] [PATCH] crypto/dpaa_sec: support same session flows on multi cores
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Fri Jan 11 01:06:00 CET 2019
> -----Original Message-----
> From: Akhil Goyal [mailto:akhil.goyal at nxp.com]
> Sent: Wednesday, January 9, 2019 3:14 PM
> To: dev at dpdk.org
> Cc: Hemant Agrawal <hemant.agrawal at nxp.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Akhil Goyal <akhil.goyal at nxp.com>
> Subject: [PATCH] crypto/dpaa_sec: support same session flows on multi
> cores
>
> In dpaa_sec, each session should have a separate in-queue, and each in-
> queue should be mapped to an outq.
> So if multiple flows of same SA comes to different cores due to rss
> distribution of NIC, enqueue from any core will try to do re-assignment of
> inq - outq mapping which will fail.
>
> In this patch, for each core a separate inq is allocated and used from each of
> the core. But the number of outq will remain the same and we save the
> pointer to outq in session for each of the cores.
>
> Signed-off-by: Akhil Goyal <akhil.goyal at nxp.com>
Applied to dpdk-next-crypto.
Thanks,
Pablo
More information about the dev
mailing list