1#
2# Mellanox driver configuration
3#
4
5config MLX5_CORE
6	tristate "Mellanox Technologies ConnectX-4 and Connect-IB core driver"
7	depends on MAY_USE_DEVLINK
8	depends on PCI
9	default n
10	---help---
11	  Core driver for low level functionality of the ConnectX-4 and
12	  Connect-IB cards by Mellanox Technologies.
13
14config MLX5_CORE_EN
15	bool "Mellanox Technologies ConnectX-4 Ethernet support"
16	depends on NETDEVICES && ETHERNET && PCI && MLX5_CORE
17	select PTP_1588_CLOCK
18	default n
19	---help---
20	  Ethernet support in Mellanox Technologies ConnectX-4 NIC.
21	  Ethernet and Infiniband support in ConnectX-4 are currently mutually
22	  exclusive.
23
24config MLX5_CORE_EN_DCB
25	bool "Data Center Bridging (DCB) Support"
26	default y
27	depends on MLX5_CORE_EN && DCB
28	---help---
29	  Say Y here if you want to use Data Center Bridging (DCB) in the
30	  driver.
31	  If set to N, will not be able to configure QoS and ratelimit attributes.
32	  This flag is depended on the kernel's DCB support.
33
34	  If unsure, set to Y
35