Thread (74 messages) 74 messages, 7 authors, 2021-10-20

Re: [dpdk-dev] [PATCH v2 2/5] cryptodev: allocate max space for internal qp array

From: Zhang, Roy Fan <hidden>
Date: 2021-10-11 14:53:40

-----Original Message-----
From: Akhil Goyal <redacted>
Sent: Monday, October 11, 2021 1:43 PM
To: dev@dpdk.org
Cc: thomas@monjalon.net; david.marchand@redhat.com;
hemant.agrawal@nxp.com; anoobj@marvell.com; De Lara Guarch, Pablo
[off-list ref]; Trahe, Fiona [off-list ref];
Doherty, Declan [off-list ref]; matan@nvidia.com;
g.singh@nxp.com; Zhang, Roy Fan [off-list ref];
jianjay.zhou@huawei.com; asomalap@amd.com; ruifeng.wang@arm.com;
Ananyev, Konstantin [off-list ref]; Nicolau, Radu
[off-list ref]; ajit.khaparde@broadcom.com;
rnagadheeraj@marvell.com; adwivedi@marvell.com; Power, Ciara
[off-list ref]; Akhil Goyal [off-list ref]
Subject: [PATCH v2 2/5] cryptodev: allocate max space for internal qp array

At queue_pair config stage, allocate memory for maximum
number of queue pair pointers that a device can support.

This will allow fast path APIs(enqueue_burst/dequeue_burst) to
refer pointer to internal QP data without checking for currently
configured QPs.
This is required to hide the rte_cryptodev and rte_cryptodev_data
structure from user.

Signed-off-by: Akhil Goyal <redacted>
---
Acked-by: Fan Zhang <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help