platform: ethtool: support new GLINKSETTINGS kernel API

Merged Beniamino Galvani requested to merge bg/ethtool-glinksettings into main

Use the new GLINKSETTINGS/SLINKSETTINGS ethtool API 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.

#686 (closed)

Edited by Beniamino Galvani

Merge request reports