aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/chelsio/chcr_core.h
diff options
context:
space:
mode:
authorHarsh Jain <harsh@chelsio.com>2018-05-24 17:26:38 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2018-05-31 00:13:48 +0800
commit335bcc4a2600f56ec3c28cf93dd9070df2576891 (patch)
treeaf5533dc3ba542ae35c51394429d72a9705dc6d7 /drivers/crypto/chelsio/chcr_core.h
parentcrypto: chelsio - Return -ENOSPC for transient busy indication. (diff)
downloadlinux-dev-335bcc4a2600f56ec3c28cf93dd9070df2576891.tar.xz
linux-dev-335bcc4a2600f56ec3c28cf93dd9070df2576891.zip
crypt: chelsio - Send IV as Immediate for cipher algo
Send IV in WR as immediate instead of dma mapped entry for cipher. Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio/chcr_core.h')
-rw-r--r--drivers/crypto/chelsio/chcr_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/chelsio/chcr_core.h b/drivers/crypto/chelsio/chcr_core.h
index 1a20424e18c6..de3a9c085daf 100644
--- a/drivers/crypto/chelsio/chcr_core.h
+++ b/drivers/crypto/chelsio/chcr_core.h
@@ -56,7 +56,7 @@
#define MAX_SALT 4
#define CIP_WR_MIN_LEN (sizeof(struct chcr_wr) + \
sizeof(struct cpl_rx_phys_dsgl) + \
- sizeof(struct ulptx_sgl))
+ sizeof(struct ulptx_sgl) + 16) //IV
#define HASH_WR_MIN_LEN (sizeof(struct chcr_wr) + \
DUMMY_BYTES + \