xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Chelsio device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig NET_VENDOR_CHELSIO
7*4882a593Smuzhiyun	bool "Chelsio devices"
8*4882a593Smuzhiyun	default y
9*4882a593Smuzhiyun	depends on PCI
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  If you have a network (Ethernet) card belonging to this class, say Y.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	  Note that the answer to this question doesn't directly affect the
14*4882a593Smuzhiyun	  kernel: saying N will just cause the configurator to skip all
15*4882a593Smuzhiyun	  the questions about Chelsio devices. If you say Y, you will be asked for
16*4882a593Smuzhiyun	  your specific card in the following questions.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunif NET_VENDOR_CHELSIO
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig CHELSIO_T1
21*4882a593Smuzhiyun	tristate "Chelsio 10Gb Ethernet support"
22*4882a593Smuzhiyun	depends on PCI
23*4882a593Smuzhiyun	select CRC32
24*4882a593Smuzhiyun	select MDIO
25*4882a593Smuzhiyun	help
26*4882a593Smuzhiyun	  This driver supports Chelsio gigabit and 10-gigabit
27*4882a593Smuzhiyun	  Ethernet cards. More information about adapter features and
28*4882a593Smuzhiyun	  performance tuning is in
29*4882a593Smuzhiyun	  <file:Documentation/networking/device_drivers/ethernet/chelsio/cxgb.rst>.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun	  For general information about Chelsio and our products, visit
32*4882a593Smuzhiyun	  our website at <http://www.chelsio.com>.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	  For customer support, please visit our customer support page at
35*4882a593Smuzhiyun	  <http://www.chelsio.com/support.html>.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun	  Please send feedback to <linux-bugs@chelsio.com>.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
40*4882a593Smuzhiyun	  will be called cxgb.
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunconfig CHELSIO_T1_1G
43*4882a593Smuzhiyun	bool "Chelsio gigabit Ethernet support"
44*4882a593Smuzhiyun	depends on CHELSIO_T1
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Enables support for Chelsio's gigabit Ethernet PCI cards.  If you
47*4882a593Smuzhiyun	  are using only 10G cards say 'N' here.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig CHELSIO_T3
50*4882a593Smuzhiyun	tristate "Chelsio Communications T3 10Gb Ethernet support"
51*4882a593Smuzhiyun	depends on PCI && INET
52*4882a593Smuzhiyun	select FW_LOADER
53*4882a593Smuzhiyun	select MDIO
54*4882a593Smuzhiyun	help
55*4882a593Smuzhiyun	  This driver supports Chelsio T3-based gigabit and 10Gb Ethernet
56*4882a593Smuzhiyun	  adapters.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun	  For general information about Chelsio and our products, visit
59*4882a593Smuzhiyun	  our website at <http://www.chelsio.com>.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun	  For customer support, please visit our customer support page at
62*4882a593Smuzhiyun	  <http://www.chelsio.com/support.html>.
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun	  Please send feedback to <linux-bugs@chelsio.com>.
65*4882a593Smuzhiyun
66*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the module
67*4882a593Smuzhiyun	  will be called cxgb3.
68*4882a593Smuzhiyun
69*4882a593Smuzhiyunconfig CHELSIO_T4
70*4882a593Smuzhiyun	tristate "Chelsio Communications T4/T5/T6 Ethernet support"
71*4882a593Smuzhiyun	depends on PCI && (IPV6 || IPV6=n) && (TLS || TLS=n)
72*4882a593Smuzhiyun	select FW_LOADER
73*4882a593Smuzhiyun	select MDIO
74*4882a593Smuzhiyun	select ZLIB_DEFLATE
75*4882a593Smuzhiyun	help
76*4882a593Smuzhiyun	  This driver supports Chelsio T4, T5 & T6 based gigabit, 10Gb Ethernet
77*4882a593Smuzhiyun	  adapter and T5/T6 based 40Gb and T6 based 25Gb, 50Gb and 100Gb
78*4882a593Smuzhiyun	  Ethernet adapters.
79*4882a593Smuzhiyun
80*4882a593Smuzhiyun	  For general information about Chelsio and our products, visit
81*4882a593Smuzhiyun	  our website at <http://www.chelsio.com>.
82*4882a593Smuzhiyun
83*4882a593Smuzhiyun	  For customer support, please visit our customer support page at
84*4882a593Smuzhiyun	  <http://www.chelsio.com/support.html>.
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun	  Please send feedback to <linux-bugs@chelsio.com>.
87*4882a593Smuzhiyun
88*4882a593Smuzhiyun	  To compile this driver as a module choose M here; the module
89*4882a593Smuzhiyun	  will be called cxgb4.
90*4882a593Smuzhiyun
91*4882a593Smuzhiyunconfig CHELSIO_T4_DCB
92*4882a593Smuzhiyun	bool "Data Center Bridging (DCB) Support for Chelsio T4/T5/T6 cards"
93*4882a593Smuzhiyun	default n
94*4882a593Smuzhiyun	depends on CHELSIO_T4 && DCB
95*4882a593Smuzhiyun	help
96*4882a593Smuzhiyun	  Enable DCB support through rtNetlink interface.
97*4882a593Smuzhiyun	  Say Y here if you want to enable Data Center Bridging (DCB) support
98*4882a593Smuzhiyun	  in the driver.
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun	  If unsure, say N.
101*4882a593Smuzhiyun
102*4882a593Smuzhiyunconfig CHELSIO_T4_FCOE
103*4882a593Smuzhiyun	bool "Fibre Channel over Ethernet (FCoE) Support for Chelsio T5 cards"
104*4882a593Smuzhiyun	default n
105*4882a593Smuzhiyun	depends on CHELSIO_T4 && CHELSIO_T4_DCB && FCOE
106*4882a593Smuzhiyun	help
107*4882a593Smuzhiyun	  Enable FCoE offload features.
108*4882a593Smuzhiyun	  Say Y here if you want to enable Fibre Channel over Ethernet (FCoE) support
109*4882a593Smuzhiyun	  in the driver.
110*4882a593Smuzhiyun
111*4882a593Smuzhiyun	  If unsure, say N.
112*4882a593Smuzhiyun
113*4882a593Smuzhiyunconfig CHELSIO_T4VF
114*4882a593Smuzhiyun	tristate "Chelsio Communications T4/T5/T6 Virtual Function Ethernet support"
115*4882a593Smuzhiyun	depends on PCI
116*4882a593Smuzhiyun	help
117*4882a593Smuzhiyun	  This driver supports Chelsio T4, T5 & T6 based gigabit, 10Gb Ethernet
118*4882a593Smuzhiyun	  adapters and T5/T6 based 40Gb and T6 based 25Gb, 50Gb and 100Gb
119*4882a593Smuzhiyun	  Ethernet adapters with PCI-E SR-IOV Virtual Functions.
120*4882a593Smuzhiyun
121*4882a593Smuzhiyun	  For general information about Chelsio and our products, visit
122*4882a593Smuzhiyun	  our website at <http://www.chelsio.com>.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun	  For customer support, please visit our customer support page at
125*4882a593Smuzhiyun	  <http://www.chelsio.com/support.html>.
126*4882a593Smuzhiyun
127*4882a593Smuzhiyun	  Please send feedback to <linux-bugs@chelsio.com>.
128*4882a593Smuzhiyun
129*4882a593Smuzhiyun	  To compile this driver as a module choose M here; the module
130*4882a593Smuzhiyun	  will be called cxgb4vf.
131*4882a593Smuzhiyun
132*4882a593Smuzhiyunconfig CHELSIO_LIB
133*4882a593Smuzhiyun	tristate
134*4882a593Smuzhiyun	help
135*4882a593Smuzhiyun	Common library for Chelsio drivers.
136*4882a593Smuzhiyun
137*4882a593Smuzhiyunsource "drivers/net/ethernet/chelsio/inline_crypto/Kconfig"
138*4882a593Smuzhiyun
139*4882a593Smuzhiyunendif # NET_VENDOR_CHELSIO
140