Skip to content

ixgbe driver support for 5.11 #204

Closed

Description

@ben-burns

Hello,

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?

Thanks

Activity

  1. damentz commented on Mar 13, 2021

    @damentz
    Member

    @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.

  2. self-assigned this
    on Mar 13, 2021
  3. heftig commented on Mar 13, 2021

    @heftig

    Is the existing driver inadequate?

  4. heftig commented on Mar 13, 2021

    @heftig

    Most of the code changes seem to be reformatting, debug statements and replacements for kernel compatibility.

  5. damentz commented on Mar 13, 2021

    @damentz
    Member

    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.

  6. ben-burns commented on Mar 14, 2021

    @ben-burns
    Author

    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.

  7. damentz commented on Mar 14, 2021

    @damentz
    Member

    @ben-burns have you've tried this out-of-tree module first to see if it helps?

  8. ben-burns commented on Mar 15, 2021

    @ben-burns
    Author

    @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.

  9. damentz commented on Mar 16, 2021

    @damentz
    Member

    @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.

  10. ben-burns commented on Mar 17, 2021

    @ben-burns
    Author

    @damentz Much appreciated!

  11. added a commit that references this issue on Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions