GNU Linux-libre 6.8.7-gnu
[releases.git] / drivers / net / ethernet / freescale / dpaa2 / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config FSL_DPAA2_ETH
3         tristate "Freescale DPAA2 Ethernet"
4         depends on FSL_MC_BUS && FSL_MC_DPIO
5         select PHYLINK
6         select PCS_LYNX
7         select FSL_XGMAC_MDIO
8         select NET_DEVLINK
9         help
10           This is the DPAA2 Ethernet driver supporting Freescale SoCs
11           with DPAA2 (DataPath Acceleration Architecture v2).
12           The driver manages network objects discovered on the Freescale
13           MC bus.
14
15 if FSL_DPAA2_ETH
16 config FSL_DPAA2_ETH_DCB
17         bool "Data Center Bridging (DCB) Support"
18         default n
19         depends on DCB
20         help
21           Enable Priority-Based Flow Control (PFC) support for DPAA2 Ethernet
22           devices.
23 endif
24
25 config FSL_DPAA2_PTP_CLOCK
26         tristate "Freescale DPAA2 PTP Clock"
27         depends on FSL_DPAA2_ETH && PTP_1588_CLOCK_QORIQ
28         default y
29         help
30           This driver adds support for using the DPAA2 1588 timer module
31           as a PTP clock.
32
33 config FSL_DPAA2_SWITCH
34         tristate "Freescale DPAA2 Ethernet Switch"
35         depends on BRIDGE || BRIDGE=n
36         depends on NET_SWITCHDEV
37         help
38           Driver for Freescale DPAA2 Ethernet Switch. This driver manages
39           switch objects discovered on the Freeescale MC bus.