[PATCH v2] security: hide security context
Power, Ciara
ciara.power at intel.com
Mon Sep 25 17:46:13 CEST 2023
Hi Akhil,
> -----Original Message-----
> From: Akhil Goyal <gakhil at marvell.com>
> Sent: Wednesday, September 20, 2023 11:40 AM
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; david.marchand at redhat.com;
> hemant.agrawal at nxp.com; anoobj at marvell.com; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Trahe, Fiona <fiona.trahe at intel.com>;
> Doherty, Declan <declan.doherty at intel.com>; matan at nvidia.com;
> g.singh at nxp.com; fanzhang.oss at gmail.com; jianjay.zhou at huawei.com;
> asomalap at amd.com; ruifeng.wang at arm.com;
> konstantin.v.ananyev at yandex.ru; Nicolau, Radu <radu.nicolau at intel.com>;
> ajit.khaparde at broadcom.com; rnagadheeraj at marvell.com;
> adwivedi at marvell.com; Power, Ciara <ciara.power at intel.com>; Akhil Goyal
> <gakhil at marvell.com>
> Subject: [PATCH v2] security: hide security context
>
> rte_security_ctx is used by all security APIs to identify which device
> security_op it need to call and hence it should be opaque to the application.
> Hence, it is now moved to internal header file and all APIs will now take an
> opaque pointer for it.
> The fast path inline APIs like set metadata need to get flags from security_ctx.
> The flags are now retrieved using inline APIs which use macros to get the
> offset of flags in security_ctx.
>
> Signed-off-by: Akhil Goyal <gakhil at marvell.com>
Acked-by: Ciara Power <ciara.power at intel.com>
More information about the dev
mailing list