From: Ganesh Goudar <ganes...@chelsio.com> Date: Mon, 23 Oct 2017 15:33:30 +0530
> From: Arjun Vynipadath <ar...@chelsio.com> > > GRO is not supported by Chelsio HW when rx_csum is disabled. > Update the netdev features flag when rx_csum is modified. > > Signed-off-by: Arjun Vynipadath <ar...@chelsio.com> > Signed-off-by: Ganesh Goudar <ganes...@chelsio.com> This doesn't even compile: CC [M] drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.o drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:2765:26: error: redefinition of ‘cxgb4vf_fix_features’ static netdev_features_t cxgb4vf_fix_features(struct net_device *dev, ^~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1114:26: note: previous definition of ‘cxgb4vf_fix_features’ was here static netdev_features_t cxgb4vf_fix_features(struct net_device *dev, ^~~~~~~~~~~~~~~~~~~~ drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c:1114:26: warning: ‘cxgb4vf_fix_features’ defined but not used [-Wunused-function] scripts/Makefile.build:313: recipe for target 'drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.o' failed make[1]: *** [drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.o] Error 1 Makefile:1653: recipe for target 'drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.o' failed make: *** [drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.o] Error 2