xref: /linux/drivers/net/ethernet/microchip/sparx5/Kconfig (revision 0c436dfe5c25d0931b164b944165259f95e5281f)
1config SPARX5_SWITCH
2	tristate "Sparx5 switch driver"
3	depends on NET_SWITCHDEV
4	depends on HAS_IOMEM
5	depends on OF
6	depends on ARCH_SPARX5 || COMPILE_TEST
7	depends on PTP_1588_CLOCK_OPTIONAL
8	depends on BRIDGE || BRIDGE=n
9	select PHYLINK
10	select PHY_SPARX5_SERDES
11	select RESET_CONTROLLER
12	select VCAP
13	select FDMA
14	help
15	  This driver supports the Sparx5 network switch device.
16
17config SPARX5_DCB
18	bool "Data Center Bridging (DCB) support"
19	depends on SPARX5_SWITCH && DCB
20	default y
21	help
22	  Say Y here if you want to use Data Center Bridging (DCB) in the
23	  driver. This can be used to assign priority to traffic, based on
24	  DSCP and PCP.
25
26	  If unsure, set to Y.
27