[openwrt/openwrt] microchipsw: enable DCB by default
LEDE Commits
lede-commits at lists.infradead.org
Sun Jan 25 13:10:41 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4c0c7442dbc02db7f5ff170a4691e87f1ba8f741
commit 4c0c7442dbc02db7f5ff170a4691e87f1ba8f741
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Sun Jan 25 12:04:04 2026 +0100
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 at sartura.hr>
---
config/Config-kernel.in | 1 +
package/kernel/linux/modules/netdevices.mk | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 177640d351..15aa189672 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -1277,6 +1277,7 @@ config KERNEL_NET_L3_MASTER_DEV
config KERNEL_DCB
bool "Data Center Bridging support"
default y if TARGET_armsr_armv8
+ default y if TARGET_microchipsw
default y if TARGET_x86_64
help
This enables support for configuring Data Center Bridging (DCB)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 9258fdf220..4c57b878f5 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -2351,7 +2351,8 @@ define KernelPackage/sparx5-switch
DEPENDS:=@TARGET_microchipsw +kmod-phylink +kmod-ptp
KCONFIG:= \
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
AUTOLOAD:=$(call AutoProbe,sparx5-switch,1)
endef
More information about the lede-commits
mailing list