Fixed
Created: Sep 20, 2015
Updated: Sep 8, 2018
Resolved Date: Sep 24, 2015
Found In Version: 7.0.0.9
Fix Version: 7.0.0.10
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel
WR7 introduces upgrades to the i40e ethernet driver, but clearly they weren't tested at all, since the driver has build warnings due to mismatched structs, and outright build fails to to fields in structs that no longer even exist.
CC drivers/net/ethernet/intel/i40e/i40e_diag.o
CC drivers/net/ethernet/intel/i40e/i40e_ptp.o
CC drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.o
drivers/net/ethernet/intel/i40e/i40e_main.c:8139:2: warning: initialization from incompatible pointer type
.ndo_bridge_setlink = i40e_ndo_bridge_setlink,
^
drivers/net/ethernet/intel/i40e/i40e_main.c:8139:2: warning: (near initialization for ‘i40e_netdev_ops.ndo_bridge_setlink’)
CC drivers/net/ethernet/intel/i40e/i40e_dcb.o
CC drivers/net/ethernet/intel/i40e/i40e_dcb_nl.o
CC drivers/net/ethernet/intel/i40e/i40e_fcoe.o
drivers/net/ethernet/intel/i40e/i40e_fcoe.c: In function ‘i40e_fcoe_config_netdev’:
drivers/net/ethernet/intel/i40e/i40e_fcoe.c:1521:8: error: ‘struct net_device’ has no member named ‘dev_port’
netdev->dev_port = 1;
^
scripts/Makefile.build:308: recipe for target 'drivers/net/ethernet/intel/i40e/i40e_fcoe.o' failed
make[1]: *** [drivers/net/ethernet/intel/i40e/i40e_fcoe.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1442: recipe for target 'drivers/net/ethernet/intel/i40e/' failed
1029 git checkout -f standard/intel-x86-64
1030 git whatchanged drivers/net/ethernet/intel/i40e
1031 make allyesconfig
1032 make -j10 drivers/net/ethernet/intel/i40e/