chelsio/chtls: CHELSIO_INLINE_CRYPTO should depend on CHELSIO_T4
[linux-2.6-microblaze.git] / drivers / net / ethernet / chelsio / inline_crypto / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Chelsio inline crypto configuration
4 #
5
6 config CHELSIO_INLINE_CRYPTO
7         bool "Chelsio Inline Crypto support"
8         depends on CHELSIO_T4
9         default y
10         help
11           Enable support for inline crypto.
12           Allows enable/disable from list of inline crypto drivers.
13
14 if CHELSIO_INLINE_CRYPTO
15
16 config CRYPTO_DEV_CHELSIO_TLS
17         tristate "Chelsio Crypto Inline TLS Driver"
18         depends on TLS_TOE
19         help
20           Support Chelsio Inline TLS with Chelsio crypto accelerator.
21           Enable inline TLS support for Tx and Rx.
22
23           To compile this driver as a module, choose M here: the module
24           will be called chtls.
25
26 config CHELSIO_IPSEC_INLINE
27        tristate "Chelsio IPSec XFRM Tx crypto offload"
28        depends on XFRM_OFFLOAD
29        depends on INET_ESP_OFFLOAD || INET6_ESP_OFFLOAD
30        help
31         Support Chelsio Inline IPsec with Chelsio crypto accelerator.
32         Enable inline IPsec support for Tx.
33
34         To compile this driver as a module, choose M here: the module
35         will be called ch_ipsec.
36
37 endif # CHELSIO_INLINE_CRYPTO