mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-25 19:40:28 +01:00
platform/trivial: add FIXME comment to use new ethtool API to set link settings
This commit is contained in:
parent
b23403559e
commit
f3f5d5c900
1 changed files with 4 additions and 0 deletions
|
|
@ -935,6 +935,10 @@ nmp_utils_ethtool_set_link_settings (int ifindex,
|
|||
if (ethtool_call_ifindex (ifindex, &edata) < 0)
|
||||
return FALSE;
|
||||
|
||||
/* FIXME: try first new ETHTOOL_GLINKSETTINGS/SLINKSETTINGS API
|
||||
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3f1ac7a700d039c61d8d8b99f28d605d489a60cf
|
||||
*/
|
||||
|
||||
/* then change the needed ones */
|
||||
edata.cmd = ETHTOOL_SSET;
|
||||
if (autoneg) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue