[openwrt/openwrt] kernel: Add kmod-sfc-siena for Solarflare SFN5000/6000 series NICs
LEDE Commits
lede-commits at lists.infradead.org
Thu Aug 7 05:08:34 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2c3b1f41d96e3f51f88ef4ed0735530491d9972f
commit 2c3b1f41d96e3f51f88ef4ed0735530491d9972f
Author: Steve Wavler <trenchcoatjedi at gmail.com>
AuthorDate: Sun Aug 3 09:02:55 2025 -0400
kernel: Add kmod-sfc-siena for Solarflare SFN5000/6000 series NICs
kmod-sfc should add support for Solarflare SFC9000 series based cards.
However after kernel 5.19, support for the 'Siena' subclass of
SFN5000/6000 devices has been separated out since they went EOL as they
are no longer being actively developed. As kmod-sfc no longer provides
driver support for these cards and hasn't since kernel 5.2, a new kernel
module is needed to support these 10Gb Ethernet cards. More info here:
https://cateee.net/lkddb/web-lkddb/SFC_SIENA.html and here:
https://www.phoronix.com/news/Solarflare-SFC-Siena-Linux-5.19
The module can be compiled in separately and works if kernel is custom
compiled;
OpenWRT has made these changes already with the SFC 'falcon' subclass of
drivers already. See 3c5d70a and e5ba6e9
This is building on excellent work by @ynezz and @nasbdh9
Signed-off-by: Steve Wavler <trenchcoatjedi at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19647
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/netdevices.mk | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index ff581499ed..9ae3958dfe 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -2071,6 +2071,27 @@ endef
$(eval $(call KernelPackage,sfc-falcon))
+define KernelPackage/sfc-siena
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Solarflare SFN5000/6000 'Siena' based card support
+ DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-lib-crc32c +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
+ KCONFIG:= \
+ CONFIG_SFC_SIENA \
+ CONFIG_SFC_SIENA_MTD=y \
+ CONFIG_SFC_SIENA_MCDI_MON=y \
+ CONFIG_SFC_SIENA_MCDI_LOGGING=y \
+ CONFIG_SFC_SIENA_SRIOV=y
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/sfc/siena/sfc-siena.ko
+ AUTOLOAD:=$(call AutoProbe,sfc-siena)
+endef
+
+define KernelPackage/sfc-siena/description
+ Solarflare SFN5000/6000 'Siena' based card support
+endef
+
+$(eval $(call KernelPackage,sfc-siena))
+
+
define KernelPackage/wwan
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=WWAN Driver Core
More information about the lede-commits
mailing list