> In the latest i40e 2.24.6, there is inconsistent usage of conditionals 
> leading to compilation errors.

I have resolved the i40e compilation problem for 6.6.9 kernel with the attached 
patch.
I basically swapped the order of CONFIG_PCI_IOV and CONFIG_DCB, and moved two 
functions outside of the CONFIG_DCB conditional.

The separate stub of pci_disable_pcie_error_reporting is because this function 
was deleted in 6.6.
I'm not positive that this is the correct solution.  I am just guessing that 
the functionality was added in the pci bus path somewhere.
I had to do similar with ixgbe driver.

Attachment: Build-for-6.6.9-kernel.patch
Description: Build-for-6.6.9-kernel.patch

_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
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

Reply via email to