[OpenWrt-Devel] [PATCH] add i40e netdevice configs

Daniel Golle daniel at makrotopia.org
Wed May 6 07:52:47 EDT 2020


On Wed, May 06, 2020 at 10:51:17AM +0000, zhangkaiheb at 126.com wrote:
> From: kai zhang <zhangkaiheb at 126.com>

Must have been a too bit early for me today, but apart from the missing
commit description and 'kernel: ' prefix of the commit titles, I have
also just noticed that this has already been added recently with

commit 5d81b28a829ac20fb60991e71ee7a7c53d14fd58
Author: Xiaobo Tian <peterwillcn at gmail.com>
Date:   Wed Apr 1 12:19:35 2020 +0800

kernel: support intel X7xx 10/40GbE adapters

Signed-off-by: Xiaobo Tian <peterwillcn at gmail.com>
[Add i40evf/i40evf.ko and setect CONFIG_IAVF]
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>


> 
> Signed-off-by: kai zhang <zhangkaiheb at 126.com>
> ---
>  package/kernel/linux/modules/netdevices.mk | 32 ++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
> index 6ea2f1df89..ce03ae998e 100644
> --- a/package/kernel/linux/modules/netdevices.mk
> +++ b/package/kernel/linux/modules/netdevices.mk
> @@ -642,6 +642,38 @@ 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
> +  KCONFIG:=CONFIG_I40E
> +  FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40e/i40e.ko
> +  AUTOLOAD:=$(call AutoLoad,35,i40e)
> +endef
> +
> +define KernelPackage/i40e/description
> + Kernel modules for Intel(R) Ethernet Controller XL710 Family support.
> +endef
> +
> +$(eval $(call KernelPackage,i40e))
> +
> +
> +define KernelPackage/i40evf
> +  SUBMENU:=$(NETWORK_DEVICES_MENU)
> +  TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
> +  DEPENDS:=@PCI_SUPPORT
> +  KCONFIG:=CONFIG_I40EVF
> +  FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40evf/i40evf.ko
> +  AUTOLOAD:=$(call AutoLoad,35,i40evf)
> +endef
> +
> +define KernelPackage/i40evf/description
> + Kernel modules for Intel(R) Ethernet Adaptive Virtual Function support.
> +endef
> +
> +$(eval $(call KernelPackage,i40evf))
> +
> +
>  define KernelPackage/b44
>    TITLE:=Broadcom 44xx driver
>    KCONFIG:=CONFIG_B44
> -- 
> 2.17.1
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list