summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorAkhil Goyal <akhil.goyal@nxp.com>2019-03-27 11:53:37 +0000
committerAkhil Goyal <akhil.goyal@nxp.com>2019-04-02 16:50:24 +0200
commit3b4757fc745b794200d60e2070b59a2f144b30a9 (patch)
tree9bc07f6d264d79dc409e8997f45b42d2c816f33a /drivers/bus
parente621d970006787e28e0f9d9593a9f48a71071d3d (diff)
downloaddpdk-3b4757fc745b794200d60e2070b59a2f144b30a9.zip
dpdk-3b4757fc745b794200d60e2070b59a2f144b30a9.tar.gz
dpdk-3b4757fc745b794200d60e2070b59a2f144b30a9.tar.xz
crypto/dpaa2_sec: support multi-process
- fle pool allocations should be done for each process. - cryptodev->data is shared across muliple processes but cryptodev itself is allocated for each process. So any information which needs to be shared between processes, should be kept in cryptodev->data. Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/fslmc/portal/dpaa2_hw_pvt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
index 4679e93..0cbde8a 100644
--- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
+++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
@@ -152,7 +152,7 @@ struct dpaa2_queue {
struct rte_mempool *mb_pool; /**< mbuf pool to populate RX ring. */
union {
struct rte_eth_dev_data *eth_data;
- void *dev;
+ struct rte_cryptodev_data *crypto_data;
};
int32_t eventfd; /*!< Event Fd of this queue */
uint32_t fqid; /*!< Unique ID of this queue */