[dpdk-stable] [PATCH] drivers/crypto/dpaa_sec: update DPAA iova table in dpaa_mem_vtop

Akhil Goyal akhil.goyal at nxp.com
Thu Sep 19 17:13:12 CEST 2019


> 
> dpaa_sec needs translations between physical and virtual addresses.
> V to P translation is relatively fast, as memory is managed in
> contiguous segments.
> 
> The result of each V to P translation is used to update the DPAA iova
> table, which should be updated by a Mem event callback, but is not.
> Then the DPAA iova table has entries for all needed memory ranges.
> 
> With this patch, dpaa_mem_ptov will always use dpaax_iova_table_get_va,
> which ensures optimal performance.
> 
> Fixes: 5a7dbb934d75 ('dpaa: enable dpaax library')
> Cc: stable at dpdk.org
> Cc: akhil.goyal at nxp.com
> Cc: hemant.agrawal at nxp.com
> 
> V2: use "ms->addr" instead of  "(void *)ms->addr_64" to fix
>     compilation on 32bit (i686)
Removed this line
> 
> Signed-off-by: Thierry Herbelot <thierry.herbelot at 6wind.com>
> ---
Applied to dpdk-next-crypto

Thanks.



More information about the stable mailing list