Hide Forgot
Description of problem: "/ixgbe-3.6.7/src/ixgbe_main.c:5103:error:'struct net_device' has no member named 'tc_to_txq'" "/ixgbe-3.6.7/src/ixgbe_main.c:5104:error:'struct net_device' has no member named 'tc_to_txq'" Version-Release number of selected component (if applicable): 4. The driver can not be added into RHEL6.2 Beta (x86_64bit) How reproducible: Steps to Reproduce: 1. Download the latest driver from intel, ixgbe3.6.7 2. Extracting the tar package, and run "make" 3. "/ixgbe-3.6.7/src/ixgbe_main.c:5103:error:'struct net_device' has no member named 'tc_to_txq'" "/ixgbe-3.6.7/src/ixgbe_main.c:5104:error:'struct net_device' has no member named 'tc_to_txq'" Version-Release number of selected component (if applicable): 4. The driver can not be added into RHEL6.2 Beta (x86_64bit) Actual results: Expected results: The driver should be OK. Additional info: The driver 3.5.14 also fail
RHEL6.2 Beta kernel (2.6.32-202.el6.x86_64) -->The driver ixgbe-3.6.7 can not be installed-->FAIL RHEL6.1 RC3 -->The driver ixgbe-3.6.7 can be installed -->PASS It is OS issue, since RHEL6.1 x86_64 is OK.
This isn't an OS bug, its the result of our ABI promise and a break that was fixed between 6.1 and 6.2. the tc_to_txq array was added to the net_device struct in 6.1, which allowed the ixgbe out of tree driver to build properly but breaks the RHEL ABI stability guarantee. 6.2 fixed the ABI breakage by moving that array to an ABI safe location, but requires a macro access for drivers to get to. Since we guarantee ABI, but not out of tree driver building, this is the correct solution. You can fix up the ixgbe sourceforge driver by replacing all instances of dev->tc_to_txq in the driver with this: netdev_extended(dev)->qos_data.tc_to_txq I'll attach a patch to make the modification for you.
Created attachment 528324 [details] patch to fix ixgbe soruceforge driver
Verified the patch work OK. It is driver issue, thanks, I also will try verification in later rhel6.2 or later version. Suggest close the tracker