aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorXiaobo Tian <peterwillcn@gmail.com>2020-04-01 12:19:35 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2020-04-26 21:45:41 +0200
commit5d81b28a829ac20fb60991e71ee7a7c53d14fd58 (patch)
tree50d035dc523c5b508193caede702d0c28bd1ba48 /package
parentee500186a5617dfe80f4b762fd6bd0c38af93d49 (diff)
downloadupstream-5d81b28a829ac20fb60991e71ee7a7c53d14fd58.tar.gz
upstream-5d81b28a829ac20fb60991e71ee7a7c53d14fd58.tar.bz2
upstream-5d81b28a829ac20fb60991e71ee7a7c53d14fd58.zip
kernel: support intel X7xx 10/40GbE adapters
Signed-off-by: Xiaobo Tian <peterwillcn@gmail.com> [Add i40evf/i40evf.ko and setect CONFIG_IAVF] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/netdevices.mk42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 26a22e9007..e95d84fda8 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -717,6 +717,48 @@ endef
$(eval $(call KernelPackage,ixgbevf))
+define KernelPackage/i40e
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel(R) Ethernet Controller XL710 Family support
+ DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core +LINUX_5_4:kmod-libphy
+ KCONFIG:=CONFIG_I40E \
+ CONFIG_I40E_VXLAN=n \
+ CONFIG_I40E_HWMON=y \
+ CONFIG_I40E_DCA=n
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
+ AUTOLOAD:=$(call AutoProbe,i40e)
+endef
+
+define KernelPackage/i40e/description
+ Kernel modules for Intel(R) Ethernet Controller XL710 Family 40 Gigabit Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,i40e))
+
+
+define KernelPackage/iavf
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
+ DEPENDS:=@PCI_SUPPORT
+ KCONFIG:= \
+ CONFIG_I40EVF \
+ CONFIG_IAVF
+ FILES:= \
+ $(LINUX_DIR)/drivers/net/ethernet/intel/i40evf/i40evf.ko@lt4.20 \
+ $(LINUX_DIR)/drivers/net/ethernet/intel/iavf/iavf.ko@ge4.20
+ AUTOLOAD:=$(call AutoProbe,i40evf iavf)
+ AUTOLOAD:=$(call AutoProbe,iavf)
+endef
+
+define KernelPackage/iavf/description
+ Kernel modules for Intel XL710,
+ X710, X722, XXV710, and all devices advertising support for
+ Intel Ethernet Adaptive Virtual Function devices.
+endef
+
+$(eval $(call KernelPackage,iavf))
+
+
define KernelPackage/b44
TITLE:=Broadcom 44xx driver
KCONFIG:=CONFIG_B44