aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/chelsio/chcr_core.h
diff options
context:
space:
mode:
authorAtul Gupta <atul.gupta@chelsio.com>2019-01-17 09:18:35 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-25 18:41:51 +0800
commit4da66b758b25938a5e0b6df830d08e8d5c316936 (patch)
tree0c45ca46bf6259c2ea7a08f06822c298904e68d5 /drivers/crypto/chelsio/chcr_core.h
parentcrypto: ccree - don't copy zero size ciphertext (diff)
downloadlinux-dev-4da66b758b25938a5e0b6df830d08e8d5c316936.tar.xz
linux-dev-4da66b758b25938a5e0b6df830d08e8d5c316936.zip
crypto: chelsio - avoid using sa_entry imm
use is_eth_imm to determine immediate data than use sa_entry field which is common for tunnel and not per skb. Signed-off-by: Atul Gupta <atul.gupta@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 1159dee964ed..ad874d548aa5 100644
--- a/drivers/crypto/chelsio/chcr_core.h
+++ b/drivers/crypto/chelsio/chcr_core.h
@@ -183,7 +183,7 @@ struct chcr_ipsec_aadiv {
struct ipsec_sa_entry {
int hmac_ctrl;
u16 esn;
- u16 imm;
+ u16 resv;
unsigned int enckey_len;
unsigned int kctx_len;
unsigned int authsize;