mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-27 23:47:19 +01:00
microchipsw: enable DCB by default
Switchdev driver used by microchipsw supports DCB and has not storage constraints, so enable kernel and driver DCB support by default. Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
parent
7a5aa24706
commit
4c0c7442db
2 changed files with 3 additions and 1 deletions
|
|
@ -1277,6 +1277,7 @@ config KERNEL_NET_L3_MASTER_DEV
|
||||||
config KERNEL_DCB
|
config KERNEL_DCB
|
||||||
bool "Data Center Bridging support"
|
bool "Data Center Bridging support"
|
||||||
default y if TARGET_armsr_armv8
|
default y if TARGET_armsr_armv8
|
||||||
|
default y if TARGET_microchipsw
|
||||||
default y if TARGET_x86_64
|
default y if TARGET_x86_64
|
||||||
help
|
help
|
||||||
This enables support for configuring Data Center Bridging (DCB)
|
This enables support for configuring Data Center Bridging (DCB)
|
||||||
|
|
|
||||||
|
|
@ -2351,7 +2351,8 @@ define KernelPackage/sparx5-switch
|
||||||
DEPENDS:=@TARGET_microchipsw +kmod-phylink +kmod-ptp
|
DEPENDS:=@TARGET_microchipsw +kmod-phylink +kmod-ptp
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_SPARX5_SWITCH \
|
CONFIG_SPARX5_SWITCH \
|
||||||
CONFIG_LAN969X_SWITCH=y
|
CONFIG_LAN969X_SWITCH=y \
|
||||||
|
CONFIG_SPARX5_DCB=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/ethernet/microchip/sparx5/sparx5-switch.ko
|
FILES:=$(LINUX_DIR)/drivers/net/ethernet/microchip/sparx5/sparx5-switch.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,sparx5-switch,1)
|
AUTOLOAD:=$(call AutoProbe,sparx5-switch,1)
|
||||||
endef
|
endef
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue