[dpdk-dev v4] lib/cryptodev: multi-process IPC request handler

Power, Ciara ciara.power at intel.com
Thu Oct 6 18:19:51 CEST 2022


Hi Kai,

> -----Original Message-----
> From: Kai Ji <kai.ji at intel.com>
> Sent: Thursday 6 October 2022 09:17
> To: dev at dpdk.org
> Cc: Ji, Kai <kai.ji at intel.com>; Akhil Goyal <gakhil at marvell.com>; Fan Zhang
> <royzhang1980 at gmail.com>; Ray Kinsella <mdr at ashroe.eu>; Burakov, Anatoly
> <anatoly.burakov at intel.com>
> Subject: [dpdk-dev v4] lib/cryptodev: multi-process IPC request handler
> 
> As some cryptode PMDs have multiprocess support, the secondary process
> needs queue-pair to be configured by the primary process before to use. This
> patch adds an IPC register function to help the primary process to register IPC
> action that allow secondary process to configure cryptodev queue-pair via IPC
> messages during the runtime.
> After setup, a new "qp_in_used_pid" param stores the PID to provide the
> ownership of the queue-pair so that only the PID matched queue-pair free
> request is allowed in the future.
> 
> Signed-off-by: Kai Ji <kai.ji at intel.com>
> ---
> v4:
> - release note update
> - Doxygen comments update
> 
> v3:
> - addin missing free function for qp_in_use_by_pid
> 
> v2:
> - code rework
[CP] 
Some small v3 comments left to address, otherwise:

Acked-by: Ciara Power <ciara.power at intel.com>


More information about the dev mailing list