You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the ixgbe driver may be out of date for 5.11 kernel support (ixgbe-5.11.3 adds 5.11 support and was released start of the month). Is there any chance of incorporating the 5.11 compatible ixgbe driver in the near future?
Do you have any objections? A lot of code changed and most of the boilerplate is for building the kernel module piecemeal. But otherwise the module does build correctly with the one tweak regarding common.mk.
Most of the code changes seem to be reformatting, debug statements and replacements for kernel compatibility.
From skimming through the code, it's a combination of reformatting, old kernel compatibility, and actual functionality changes. I'm sure there's bug fixes and enhancements that haven't made it to mainline yet. But yes, those "bug fixes" and "enhancements" appear to probably be less than 5% of the changes we see by importing the "stable" ixgbe driver from Intel's sourceforge distribution.
Is the existing driver inadequate?
@ben-burns can you comment on what advantage this out-of-tree module has over mainline?
And a final note, on the link I provided above for the 5.11.3 synced version of this driver, they left this note:
Note that while we attempt to keep the driver version number (5.11.3) in sync
with its counterpart in the Linux kernel that has similar functionality this
is far from authoritative. If you are using a newer kernel.org kernel or
distro it is likely that its ixgbe driver is at least as up to date as the
out of tree (OOT) driver found here.
Or in other words, it appears that they backport changes in mainline to their out-of-tree module, not the other way around.
The primary issues I've been facing on 5.11 are general instability and kernel panics as the interface comes up. 5.10 works just fine, but as soon as I roll 5.11, it becomes interesting. Ultimately, I can resolve this myself but figured I would check if we would see the "5.11 compatible" ixgbe module released alongside 5.11.
@damentz The OOT module provided some general interface stability. However, it did not resolve the kernel panic. I wrapped up some testing tonight and determined the problem is actually due to a regression in skb_seq_state within 5.11 versus 5.10. A specific iptables rule (similar to the one described in Bug #211911 ) is inducing it.
With that being said, I do not think the OOT module is going to provide much improvement to anyone with the more concerning issue on-hand, which is the kernel panic due to the skb_seq_state regression in 5.11. Looks like this commit resolves it.
@ben-burns merged the commit that might solve it into 5.11/fixes and master. Next release from Zen Kernel and Liquorix should resolve the kernel panic you get.
Activity
damentz commentedon Mar 13, 2021
@heftig I replaced the ixgbe driver with the source from https://sourceforge.net/projects/e1000/files/ixgbe%20stable/5.11.3/, the open branch that's not yet merged here: https://github.com/zen-kernel/zen-kernel/tree/5.11/intel-ethernet-devel
Do you have any objections? A lot of code changed and most of the boilerplate is for building the kernel module piecemeal. But otherwise the module does build correctly with the one tweak regarding
common.mk.heftig commentedon Mar 13, 2021
Is the existing driver inadequate?
heftig commentedon Mar 13, 2021
Most of the code changes seem to be reformatting, debug statements and replacements for kernel compatibility.
damentz commentedon Mar 13, 2021
From skimming through the code, it's a combination of reformatting, old kernel compatibility, and actual functionality changes. I'm sure there's bug fixes and enhancements that haven't made it to mainline yet. But yes, those "bug fixes" and "enhancements" appear to probably be less than 5% of the changes we see by importing the "stable" ixgbe driver from Intel's sourceforge distribution.
@ben-burns can you comment on what advantage this out-of-tree module has over mainline?
And a final note, on the link I provided above for the 5.11.3 synced version of this driver, they left this note:
Or in other words, it appears that they backport changes in mainline to their out-of-tree module, not the other way around.
ben-burns commentedon Mar 14, 2021
The primary issues I've been facing on 5.11 are general instability and kernel panics as the interface comes up. 5.10 works just fine, but as soon as I roll 5.11, it becomes interesting. Ultimately, I can resolve this myself but figured I would check if we would see the "5.11 compatible" ixgbe module released alongside 5.11.
damentz commentedon Mar 14, 2021
@ben-burns have you've tried this out-of-tree module first to see if it helps?
ben-burns commentedon Mar 15, 2021
@damentz The OOT module provided some general interface stability. However, it did not resolve the kernel panic. I wrapped up some testing tonight and determined the problem is actually due to a regression in
skb_seq_statewithin 5.11 versus 5.10. A specific iptables rule (similar to the one described in Bug #211911 ) is inducing it.With that being said, I do not think the OOT module is going to provide much improvement to anyone with the more concerning issue on-hand, which is the kernel panic due to the
skb_seq_stateregression in 5.11. Looks like this commit resolves it.damentz commentedon Mar 16, 2021
@ben-burns merged the commit that might solve it into 5.11/fixes and master. Next release from Zen Kernel and Liquorix should resolve the kernel panic you get.
ben-burns commentedon Mar 17, 2021
@damentz Much appreciated!
KVM: x86: Check for rmaps allocation
net/sched: act_mirred: fix loop detection
mmc: sdhci-of-dwcmshc: Prevent illegal clock reduction in HS200/HS400…
mmc: sdhci-of-dwcmshc: Prevent illegal clock reduction in HS200/HS400…