Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform: ethtool: support new GLINKSETTINGS kernel API
Use the new GLINKSETTINGS/SLINKSETTINGS ethtool API [1] when available. Using the old API, we can only enable the first 31 modes in the advertising bitmask, and so interfaces can't negotiate higher modes. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f1ac7a700d039c61d8d8b99f28d605d489a60cf https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/686
- Loading branch information
Showing
1 changed file
with
113 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters