xref: /linux/drivers/net/ethernet/chelsio/inline_crypto/Kconfig (revision a8c16e8ed624f24b2b082fb9a193e0132a5fd108)
144fd1c1fSVinay Kumar Yadav# SPDX-License-Identifier: GPL-2.0-only
244fd1c1fSVinay Kumar Yadav#
344fd1c1fSVinay Kumar Yadav# Chelsio inline crypto configuration
444fd1c1fSVinay Kumar Yadav#
544fd1c1fSVinay Kumar Yadav
644fd1c1fSVinay Kumar Yadavconfig CHELSIO_INLINE_CRYPTO
744fd1c1fSVinay Kumar Yadav	bool "Chelsio Inline Crypto support"
86bd860acSGeert Uytterhoeven	depends on CHELSIO_T4
944fd1c1fSVinay Kumar Yadav	default y
1044fd1c1fSVinay Kumar Yadav	help
1144fd1c1fSVinay Kumar Yadav	  Enable support for inline crypto.
1244fd1c1fSVinay Kumar Yadav	  Allows enable/disable from list of inline crypto drivers.
1344fd1c1fSVinay Kumar Yadav
1444fd1c1fSVinay Kumar Yadavif CHELSIO_INLINE_CRYPTO
1544fd1c1fSVinay Kumar Yadav
1644fd1c1fSVinay Kumar Yadavconfig CRYPTO_DEV_CHELSIO_TLS
1744fd1c1fSVinay Kumar Yadav	tristate "Chelsio Crypto Inline TLS Driver"
1844fd1c1fSVinay Kumar Yadav	depends on TLS_TOE
1944fd1c1fSVinay Kumar Yadav	help
2044fd1c1fSVinay Kumar Yadav	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
2144fd1c1fSVinay Kumar Yadav	  Enable inline TLS support for Tx and Rx.
2244fd1c1fSVinay Kumar Yadav
2344fd1c1fSVinay Kumar Yadav	  To compile this driver as a module, choose M here: the module
2444fd1c1fSVinay Kumar Yadav	  will be called chtls.
2544fd1c1fSVinay Kumar Yadav
261b77be46SVinay Kumar Yadavconfig CHELSIO_IPSEC_INLINE
271b77be46SVinay Kumar Yadav       tristate "Chelsio IPSec XFRM Tx crypto offload"
281b77be46SVinay Kumar Yadav       depends on XFRM_OFFLOAD
291b77be46SVinay Kumar Yadav       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
301b77be46SVinay Kumar Yadav       help
311b77be46SVinay Kumar Yadav        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
321b77be46SVinay Kumar Yadav        Enable inline IPsec support for Tx.
331b77be46SVinay Kumar Yadav
341b77be46SVinay Kumar Yadav        To compile this driver as a module, choose M here: the module
351b77be46SVinay Kumar Yadav        will be called ch_ipsec.
361b77be46SVinay Kumar Yadav
37*a8c16e8eSRohit Maheshwariconfig CHELSIO_TLS_DEVICE
38*a8c16e8eSRohit Maheshwari        tristate "Chelsio Inline KTLS Offload"
39*a8c16e8eSRohit Maheshwari        depends on CHELSIO_T4
40*a8c16e8eSRohit Maheshwari        depends on TLS
41*a8c16e8eSRohit Maheshwari        depends on TLS_DEVICE
42*a8c16e8eSRohit Maheshwari        help
43*a8c16e8eSRohit Maheshwari          This flag enables support for kernel tls offload over Chelsio T6
44*a8c16e8eSRohit Maheshwari          crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
45*a8c16e8eSRohit Maheshwari          only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
46*a8c16e8eSRohit Maheshwari
47*a8c16e8eSRohit Maheshwari	  To compile this driver as a module, choose M here: the module
48*a8c16e8eSRohit Maheshwari	  will be called ch_ktls.
49*a8c16e8eSRohit Maheshwari
5044fd1c1fSVinay Kumar Yadavendif # CHELSIO_INLINE_CRYPTO
51