Hi,
Building ixgbe driver version 5.19.6 for kernel 4.9.337 with
CONFIG_I40E_DISABLE_PACKET_SPLIT=1, I get the following failure:
env -u KERNELRELEASE make -C ixgbe-5.19.6/src KSRC=my_linux_directory
EXTRA_CFLAGS=-DCONFIG_IXGBE_DISABLE_PACKET_SPLIT=1 INSTALL_MOD_DIR=extra ||
exit 1;
make[1]: Entering directory 'my_driver_directory'
filtering include/linux/dev_printk.h out
filtering include/net/flow_keys.h out
filtering include/net/flow_offload.h out
all files (for given query) filtered out
filtering include/linux/device/class.h out
all files (for given query) filtered out
filtering include/linux/gnss.h out
all files (for given query) filtered out
filtering include/linux/jump_label_type.h out
filtering include/linux/jump_label_type.h out
make[2]: Entering directory 'my_linux_directory'
CC [M] my_driver_directory/ixgbe_main.o
my_driver_directory/ixgbe_main.c: In function 'ixgbe_configure_rx_ring':
my_driver_directory/ixgbe_main.c:4423:20: error: implicit declaration of
function 'ixgbe_rx_offset'; did you mean 'ixgbe_rx_bufsz'?
[-Werror=implicit-function-declaration]
ring->rx_offset = ixgbe_rx_offset(ring);
^~~~~~~~~~~~~~~
ixgbe_rx_bufsz
cc1: some warnings being treated as errors
scripts/Makefile.build:307: recipe for target
'my_driver_directory/ixgbe_main.o' failed
make[3]: *** [my_driver_directory/ixgbe_main.o] Error 1
Makefile:1544: recipe for target '_module_my_driver_directory' failed
make[2]: *** [_module_my_driver_directory] Error 2
make[2]: Leaving directory 'my_linux_directory'
Makefile:100: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory 'my_driver_directory'
Any idea how to fix it?
Thanks,
Pierre
Pierre Sangouard
Integration Manager / Extreme Networks
[email protected]<mailto:[email protected]>
ExtremeNetworks.com<https://ExtremeNetworks.com>
Advance with UsTM<https://ExtremeNetworks.com>
This email and any/all attachments may contain confidential and proprietary
material. This email is to be used solely by the intended recipient. Any
review, use, disclosure, distribution, or copying of this communication is
prohibited unless approved by or on behalf of the intended recipient. If you
have received this message in error, please immediately notify the sender and
destroy this email, any/all attachments, and all copies whether electronic or
printed.
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel Ethernet, visit
https://community.intel.com/t5/Ethernet-Products/bd-p/ethernet-products