crypto/qat: improve out-of-place conditional check
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 11 Mar 2020 12:26:06 +0000 (13:26 +0100)
committerAkhil Goyal <akhil.goyal@oss.nxp.com>
Sun, 5 Apr 2020 16:26:04 +0000 (18:26 +0200)
commit5390f304b7ecb670cb0ae5aba4bd9655651a4d13
treef26ee269d2762c749446be1328ddf6489f880295
parent5a94e64c37b4b5e7dfa450b4e7b8da756d2ed015
crypto/qat: improve out-of-place conditional check

Improve case where application set m_dst to same as m_src
so really an in-place operation, though would have been treated
as out-of-place. No functional change but this path can now benefit
from DMA alignment.

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
drivers/crypto/qat/qat_sym.c