[PATCH] crypto/virtio: cookies are allocated from mempool
Jiang, YuX
yux.jiang at intel.com
Mon Jul 6 05:00:29 CEST 2026
> -----Original Message-----
> From: Radu Nicolau <radu.nicolau at intel.com>
> Sent: Friday, July 3, 2026 10:50 PM
> To: dev at dpdk.org
> Cc: maxime.coquelin at redhat.com; Nicolau, Radu <radu.nicolau at intel.com>;
> jianjay.zhou at huawei.com; Fan Zhang <fanzhang.oss at gmail.com>
> Subject: [PATCH] crypto/virtio: cookies are allocated from mempool
>
> The Rx/Tx functions allocate cookies as needed, no need to allocate and free from
> heap.
>
> Fixes: 6f0175ff53e0 ("crypto/virtio: support basic PMD ops")
> Cc: jianjay.zhou at huawei.com
>
> Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> ---
> drivers/crypto/virtio/virtio_cryptodev.c | 24 +-----------------------
> 1 file changed, 1 insertion(+), 23 deletions(-)
>
Tested-by: Yu Jiang <yux.jiang at intel.com>
Best Regards
Yu Jiang
More information about the dev
mailing list