xref: /linux/drivers/net/ethernet/microchip/sparx5/Kconfig (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
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	help
14	  This driver supports the Sparx5 network switch device.
15
16config SPARX5_DCB
17	bool "Data Center Bridging (DCB) support"
18	depends on SPARX5_SWITCH && DCB
19	default y
20	help
21	  Say Y here if you want to use Data Center Bridging (DCB) in the
22	  driver. This can be used to assign priority to traffic, based on
23	  DSCP and PCP.
24
25	  If unsure, set to Y.
26