crypto/dpaa_sec: use virt2memseg instead of iteration
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 11 Apr 2018 12:30:17 +0000 (13:30 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 17:54:58 +0000 (19:54 +0200)
commit29f3c9e55d96cbeebc39a78c0da4d8db560f7d5e
tree7080c4157513edcba548b04161b451983196a3a8
parent0e41bb3b0046987d8926d9c671899090ec8e8bc0
crypto/dpaa_sec: use virt2memseg instead of 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