xref: /linux/drivers/net/ethernet/microchip/lan966x/Kconfig (revision 9410645520e9b820069761f3450ef6661418e279)
1db8bcaadSHoratiu Vulturconfig LAN966X_SWITCH
2db8bcaadSHoratiu Vultur	tristate "Lan966x switch driver"
31da52b0eSHoratiu Vultur	depends on PTP_1588_CLOCK_OPTIONAL
4db8bcaadSHoratiu Vultur	depends on HAS_IOMEM
5db8bcaadSHoratiu Vultur	depends on OF
6cf2f6089SHoratiu Vultur	depends on NET_SWITCHDEV
7cabc9d49SHoratiu Vultur	depends on BRIDGE || BRIDGE=n
8db8bcaadSHoratiu Vultur	select PHYLINK
911871abaSHoratiu Vultur	select PAGE_POOL
10b0531225SHoratiu Vultur	select VCAP
11*63acda75SDaniel Machon	select FDMA
12db8bcaadSHoratiu Vultur	help
13db8bcaadSHoratiu Vultur	  This driver supports the Lan966x network switch device.
14a83e4630SHoratiu Vultur
15a83e4630SHoratiu Vulturconfig LAN966X_DCB
16a83e4630SHoratiu Vultur	bool "Data Center Bridging (DCB) support"
17a83e4630SHoratiu Vultur	depends on LAN966X_SWITCH && DCB
18a83e4630SHoratiu Vultur	default y
19a83e4630SHoratiu Vultur	help
20a83e4630SHoratiu Vultur	  Say Y here if you want to use Data Center Bridging (DCB) in the
21a83e4630SHoratiu Vultur	  driver. This can be used to assign priority to traffic, based on
22a83e4630SHoratiu Vultur	  DSCP and PCP.
23a83e4630SHoratiu Vultur
24a83e4630SHoratiu Vultur	  If unsure, set to Y.
25