crypto/dpaa_sec: use iova2virt instead of memseg iteration
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 11 Apr 2018 12:30:14 +0000 (13:30 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 17:54:42 +0000 (19:54 +0200)
commit11d2f002e0e6bb33b3ce73d355c40360936ab415
tree1830fa888f3ce9dbbef501cf38977a26d039fda8
parent00bc40e265df6d9a4ddb7f1f665a0c77cfe39f71
crypto/dpaa_sec: use iova2virt instead of memseg iteration

Reduce dependency on internal details of EAL memory subsystem, and
simplify code.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Tested-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Tested-by: Gowrishankar Muthukrishnan <gowrishankar.m@linux.vnet.ibm.com>
drivers/crypto/dpaa_sec/dpaa_sec.c