18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Chelsio inline crypto configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig CHELSIO_INLINE_CRYPTO
78c2ecf20Sopenharmony_ci	bool "Chelsio Inline Crypto support"
88c2ecf20Sopenharmony_ci	depends on CHELSIO_T4
98c2ecf20Sopenharmony_ci	default y
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  Enable support for inline crypto.
128c2ecf20Sopenharmony_ci	  Allows enable/disable from list of inline crypto drivers.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciif CHELSIO_INLINE_CRYPTO
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig CRYPTO_DEV_CHELSIO_TLS
178c2ecf20Sopenharmony_ci	tristate "Chelsio Crypto Inline TLS Driver"
188c2ecf20Sopenharmony_ci	depends on CHELSIO_T4
198c2ecf20Sopenharmony_ci	depends on TLS
208c2ecf20Sopenharmony_ci	depends on TLS_TOE
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Support Chelsio Inline TLS with Chelsio crypto accelerator.
238c2ecf20Sopenharmony_ci	  Enable inline TLS support for Tx and Rx.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
268c2ecf20Sopenharmony_ci	  will be called chtls.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig CHELSIO_IPSEC_INLINE
298c2ecf20Sopenharmony_ci       tristate "Chelsio IPSec XFRM Tx crypto offload"
308c2ecf20Sopenharmony_ci       depends on CHELSIO_T4
318c2ecf20Sopenharmony_ci       depends on XFRM_OFFLOAD
328c2ecf20Sopenharmony_ci       depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
338c2ecf20Sopenharmony_ci       help
348c2ecf20Sopenharmony_ci        Support Chelsio Inline IPsec with Chelsio crypto accelerator.
358c2ecf20Sopenharmony_ci        Enable inline IPsec support for Tx.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci        To compile this driver as a module, choose M here: the module
388c2ecf20Sopenharmony_ci        will be called ch_ipsec.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig CHELSIO_TLS_DEVICE
418c2ecf20Sopenharmony_ci        tristate "Chelsio Inline KTLS Offload"
428c2ecf20Sopenharmony_ci        depends on CHELSIO_T4
438c2ecf20Sopenharmony_ci        depends on TLS
448c2ecf20Sopenharmony_ci        depends on TLS_DEVICE
458c2ecf20Sopenharmony_ci        help
468c2ecf20Sopenharmony_ci          This flag enables support for kernel tls offload over Chelsio T6
478c2ecf20Sopenharmony_ci          crypto accelerator. CONFIG_CHELSIO_TLS_DEVICE flag can be enabled
488c2ecf20Sopenharmony_ci          only if CONFIG_TLS and CONFIG_TLS_DEVICE flags are enabled.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
518c2ecf20Sopenharmony_ci	  will be called ch_ktls.
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciendif # CHELSIO_INLINE_CRYPTO
54