This is intended to avoid a crypto failure when we have ASAN disabled. In order to appease a scan-build error, we have to assert that the memory address for two g_io_ctx->cry_iov.iov_base is different between runs of _crypto_operation_complete. However, when we have asan disabled, two subsequest calls to spdk_dma_malloc yield the same address, so change the alignment to prevent allocating the same address. Change-Id: Ia3dfbec5bb16d00bbe7dc136a886e0b9caea71a7 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/442413 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
crypto_ut.c | ||
Makefile | ||
rte_crypto.h | ||
rte_cryptodev.h | ||
rte_mbuf.h | ||
rte_mempool.h |