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:
Robert Marko 2026-01-25 12:04:04 +01:00
parent 7a5aa24706
commit 4c0c7442db
No known key found for this signature in database
GPG key ID: 66D805C09F36AFA5
2 changed files with 3 additions and 1 deletions

View file

@ -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)

View file

@ -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