net: microchip: sparx5: add support for offloading pcp table
[platform/kernel/linux-starfive.git] / drivers / net / ethernet / microchip / sparx5 / Kconfig
1 config 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
16 config 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.