xref: /linux/drivers/net/ethernet/chelsio/inline_crypto/Kconfig (revision e859536dac30aa891a01462eef6e12168c6e8f29)
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"
18*e859536dSGeert Uytterhoeven	depends on CHELSIO_T4
1944fd1c1fSVinay Kumar Yadav	depends on TLS_TOE
2044fd1c1fSVinay Kumar Yadav	help
2144fd1c1fSVinay Kumar Yadav	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
2244fd1c1fSVinay Kumar Yadav	  Enable inline TLS support for Tx and Rx.
2344fd1c1fSVinay Kumar Yadav
2444fd1c1fSVinay Kumar Yadav	  To compile this driver as a module, choose M here: the module
2544fd1c1fSVinay Kumar Yadav	  will be called chtls.
2644fd1c1fSVinay Kumar Yadav
271b77be46SVinay Kumar Yadavconfig CHELSIO_IPSEC_INLINE
281b77be46SVinay Kumar Yadav       tristate "Chelsio IPSec XFRM Tx crypto offload"
29*e859536dSGeert Uytterhoeven       depends on CHELSIO_T4
301b77be46SVinay Kumar Yadav       depends on XFRM_OFFLOAD
311b77be46SVinay Kumar Yadav       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
321b77be46SVinay Kumar Yadav       help
331b77be46SVinay Kumar Yadav        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
341b77be46SVinay Kumar Yadav        Enable inline IPsec support for Tx.
351b77be46SVinay Kumar Yadav
361b77be46SVinay Kumar Yadav        To compile this driver as a module, choose M here: the module
371b77be46SVinay Kumar Yadav        will be called ch_ipsec.
381b77be46SVinay Kumar Yadav
39a8c16e8eSRohit Maheshwariconfig CHELSIO_TLS_DEVICE
40a8c16e8eSRohit Maheshwari        tristate "Chelsio Inline KTLS Offload"
41a8c16e8eSRohit Maheshwari        depends on CHELSIO_T4
42a8c16e8eSRohit Maheshwari        depends on TLS
43a8c16e8eSRohit Maheshwari        depends on TLS_DEVICE
44a8c16e8eSRohit Maheshwari        help
45a8c16e8eSRohit Maheshwari          This flag enables support for kernel tls offload over Chelsio T6
46a8c16e8eSRohit Maheshwari          crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
47a8c16e8eSRohit Maheshwari          only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
48a8c16e8eSRohit Maheshwari
49a8c16e8eSRohit Maheshwari	  To compile this driver as a module, choose M here: the module
50a8c16e8eSRohit Maheshwari	  will be called ch_ktls.
51a8c16e8eSRohit Maheshwari
5244fd1c1fSVinay Kumar Yadavendif # CHELSIO_INLINE_CRYPTO
53