mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
Add new FDMA library for interacting with the FDMA engine on Microchip Sparx5 and lan966x switch chips, in an effort to reduce duplicate code and provide a common set of symbols and functions. Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
27 lines
670 B
Plaintext
27 lines
670 B
Plaintext
config SPARX5_SWITCH
|
|
tristate "Sparx5 switch driver"
|
|
depends on NET_SWITCHDEV
|
|
depends on HAS_IOMEM
|
|
depends on OF
|
|
depends on ARCH_SPARX5 || COMPILE_TEST
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
depends on BRIDGE || BRIDGE=n
|
|
select PHYLINK
|
|
select PHY_SPARX5_SERDES
|
|
select RESET_CONTROLLER
|
|
select VCAP
|
|
select FDMA
|
|
help
|
|
This driver supports the Sparx5 network switch device.
|
|
|
|
config SPARX5_DCB
|
|
bool "Data Center Bridging (DCB) support"
|
|
depends on SPARX5_SWITCH && DCB
|
|
default y
|
|
help
|
|
Say Y here if you want to use Data Center Bridging (DCB) in the
|
|
driver. This can be used to assign priority to traffic, based on
|
|
DSCP and PCP.
|
|
|
|
If unsure, set to Y.
|