summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/chelsio/Kconfig
diff options
context:
space:
mode:
authorAtul Gupta <atul.gupta@chelsio.com>2017-11-16 12:27:08 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-29 07:33:29 +0100
commit6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf (patch)
treeb056846482f223e7a0b9f5ce41b82b47e882db71 /drivers/crypto/chelsio/Kconfig
parentcxgb4: Add support for Inline IPSec Tx (diff)
downloadlinux-6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf.tar.xz
linux-6dad4e8ab3ec65c3b948ad79e83751cf0f04cbdf.zip
chcr: Add support for Inline IPSec
register xfrmdev_ops callbacks, Send IPsec tunneled data to HW for inline processing. The driver use hardware crypto accelerator to encrypt and generate ICV for the transmitted packet in Inline mode. Signed-off-by: Atul Gupta <atul.gupta@chelsio.com> Signed-off-by: Harsh Jain <harsh@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio/Kconfig')
-rw-r--r--drivers/crypto/chelsio/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig
index 3e104f5aa0c2..51932c7bde5d 100644
--- a/drivers/crypto/chelsio/Kconfig
+++ b/drivers/crypto/chelsio/Kconfig
@@ -18,3 +18,13 @@ config CRYPTO_DEV_CHELSIO
To compile this driver as a module, choose M here: the module
will be called chcr.
+
+config CHELSIO_IPSEC_INLINE
+ bool "Chelsio IPSec XFRM Tx crypto offload"
+ depends on CHELSIO_T4
+ depends on CRYPTO_DEV_CHELSIO
+ depends on XFRM_OFFLOAD
+ depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
+ default n
+ ---help---
+ Enable support for IPSec Tx Inline.