crypto/dpaa2_sec: support multi-process
authorAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Mar 2019 11:53:37 +0000 (11:53 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit3b4757fc745b794200d60e2070b59a2f144b30a9
tree9bc07f6d264d79dc409e8997f45b42d2c816f33a
parente621d970006787e28e0f9d9593a9f48a71071d3d
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>
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c