drivers/crypto: update inline desc for sharing mode
authorAkhil Goyal <akhil.goyal@nxp.com>
Wed, 27 Mar 2019 11:53:33 +0000 (11:53 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit7449390bb8f8fe864f10591e01365ceda840ef53
treed7a93e4767f31c1d8623ccb0f40a5dba2f371bb9
parenta5e05ab6431802f87b27a656d983226b86c307d7
drivers/crypto: update inline desc for sharing mode

SEC HW descriptor sharing mode can now be controlled
during Session preparation by the respective drivers

shared descriptors in case of non-protocol offload does not need
any sync between the subsequent jobs. Thus, changing it to
SHR_NEVER from SHR_SERIAL for cipher_only, auth_only, and gcm.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/caam_jr/caam_jr.c
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa2_sec/hw/desc/algo.h
drivers/crypto/dpaa2_sec/hw/desc/ipsec.h
drivers/crypto/dpaa_sec/dpaa_sec.c