diff mbox series

[OpenWrt-Devel] add i40e netdevice configs

Message ID 20200506105117.66929-1-zhangkaiheb@126.com
State New
Headers show
Series [OpenWrt-Devel] add i40e netdevice configs | expand

Commit Message

张凯 May 6, 2020, 10:51 a.m. UTC
From: kai zhang <zhangkaiheb@126.com>

Signed-off-by: kai zhang <zhangkaiheb@126.com>
---
 package/kernel/linux/modules/netdevices.mk | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Comments

Daniel Golle May 6, 2020, 11:52 a.m. UTC | #1
On Wed, May 06, 2020 at 10:51:17AM +0000, zhangkaiheb@126.com wrote:
> From: kai zhang <zhangkaiheb@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@gmail.com>
Date:   Wed Apr 1 12:19:35 2020 +0800

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>


> 
> Signed-off-by: kai zhang <zhangkaiheb@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@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
张凯 May 7, 2020, 4:35 a.m. UTC | #2
At 2020-05-06 19:52:47, "Daniel Golle" <daniel@makrotopia.org> wrote:

>On Wed, May 06, 2020 at 10:51:17AM +0000, zhangkaiheb@126.com wrote:
>> From: kai zhang <zhangkaiheb@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@gmail.com>
>Date:   Wed Apr 1 12:19:35 2020 +0800
>
>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>
>

>


I saw the commit by Xiaobo Tian after updating, thanks!
>> 
>> Signed-off-by: kai zhang <zhangkaiheb@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@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

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