I don't think we're going to fix the build of older drivers, but we will get 1.5.x fixed. I don't have an ETA yet.
Todd Fujinaka Software Application Engineer Networking Division (ND) Intel Corporation todd.fujin...@intel.com (503) 712-4565 -----Original Message----- From: Viktor Berke [mailto:bvik...@outlook.com] Sent: Thursday, May 26, 2016 2:30 AM To: e1000-devel@lists.sourceforge.net Subject: [E1000-devel] i40e 1.5.x doesn't compile on Ubuntu 16.04 Hi, I wanted to file a bug but it says I'm not authorized and I couldn't find any info on how I could become so, so I'll post my bug report here. 1.4 drivers randomly lose link both on Ubuntu 15.10 and 16.04 and often I can't even rmmod i40e because the system hangs. At this point, the only solution is reboot or sometimes even hard reset. So I wanted to give the 1.5 series a go, but it's unsuccessful as of yet. Here's the make output of the 1.4.25 drivers: --- make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic' CC [M] /root/i40e-1.4.25/src/i40e/i40e_main.o /root/i40e-1.4.25/src/i40e/i40e_main.c:9366:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .ndo_setup_tc = i40e_setup_tc, ^ /root/i40e-1.4.25/src/i40e/i40e_main.c:9366:19: note: (near initialization for 'i40e_netdev_ops.ndo_setup_tc') CC [M] /root/i40e-1.4.25/src/i40e/kcompat.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_ethtool.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_adminq.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_common.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_hmc.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_lan_hmc.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_nvm.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_configfs.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_debugfs.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_diag.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_txrx.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_ptp.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_virtchnl_pf.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_dcb.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_dcb_nl.o CC [M] /root/i40e-1.4.25/src/i40e/i40e_fcoe.o /root/i40e-1.4.25/src/i40e/i40e_fcoe.c:1497:19: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .ndo_setup_tc = i40e_setup_tc, ^ /root/i40e-1.4.25/src/i40e/i40e_fcoe.c:1497:19: note: (near initialization for 'i40e_fcoe_netdev_ops.ndo_setup_tc') LD [M] /root/i40e-1.4.25/src/i40e/i40e.o Building modules, stage 2. MODPOST 1 modules CC /root/i40e-1.4.25/src/i40e/i40e.mod.o LD [M] /root/i40e-1.4.25/src/i40e/i40e.ko make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic' --- 1.5.16: --- make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic' make[2]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic' CC [M] /root/i40e-1.5.16/src/i40e_main.o In file included from /root/i40e-1.5.16/src/i40e.h:51:0, from /root/i40e-1.5.16/src/i40e_main.c:25: /root/i40e-1.5.16/src/kcompat.h:4819:20: error: static declaration of 'napi_consume_skb' follows non-static declaration static inline void napi_consume_skb(struct sk_buff *skb, ^ In file included from /usr/src/linux-headers-4.4.0-22-generic/include/linux/tcp.h:21:0, from /usr/src/linux-headers-4.4.0-22-generic/include/net/tcp.h:24, from /root/i40e-1.5.16/src/i40e.h:27, from /root/i40e-1.5.16/src/i40e_main.c:25: /usr/src/linux-headers-4.4.0-22-generic/include/linux/skbuff.h:2345:6: note: previous declaration of 'napi_consume_skb' was here void napi_consume_skb(struct sk_buff *skb, int budget); ^ /usr/src/linux-headers-4.4.0-22-generic/scripts/Makefile.build:258: recipe for target '/root/i40e-1.5.16/src/i40e_main.o' failed make[3]: *** [/root/i40e-1.5.16/src/i40e_main.o] Error 1 /usr/src/linux-headers-4.4.0-22-generic/Makefile:1396: recipe for target '_module_/root/i40e-1.5.16/src' failed make[2]: *** [_module_/root/i40e-1.5.16/src] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic' Makefile:146: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic' Makefile:96: recipe for target 'default' failed make: *** [default] Error 2 --- 1.5.18: --- make[1]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic' make[2]: Entering directory '/usr/src/linux-headers-4.4.0-22-generic' CC [M] /root/i40e-1.5.18/src/i40e_main.o In file included from /root/i40e-1.5.18/src/i40e.h:51:0, from /root/i40e-1.5.18/src/i40e_main.c:25: /root/i40e-1.5.18/src/kcompat.h:4827:20: error: static declaration of 'napi_consume_skb' follows non-static declaration static inline void napi_consume_skb(struct sk_buff *skb, ^ In file included from /usr/src/linux-headers-4.4.0-22-generic/include/linux/tcp.h:21:0, from /usr/src/linux-headers-4.4.0-22-generic/include/net/tcp.h:24, from /root/i40e-1.5.18/src/i40e.h:27, from /root/i40e-1.5.18/src/i40e_main.c:25: /usr/src/linux-headers-4.4.0-22-generic/include/linux/skbuff.h:2345:6: note: previous declaration of 'napi_consume_skb' was here void napi_consume_skb(struct sk_buff *skb, int budget); ^ /usr/src/linux-headers-4.4.0-22-generic/scripts/Makefile.build:258: recipe for target '/root/i40e-1.5.18/src/i40e_main.o' failed make[3]: *** [/root/i40e-1.5.18/src/i40e_main.o] Error 1 /usr/src/linux-headers-4.4.0-22-generic/Makefile:1396: recipe for target '_module_/root/i40e-1.5.18/src' failed make[2]: *** [_module_/root/i40e-1.5.18/src] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic' Makefile:146: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-22-generic' Makefile:96: recipe for target 'default' failed make: *** [default] Error 2 --- Could you please check this out? Regards, Viktor ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired