[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YXcdmyONutFH8E6l@lunn.ch>
Date: Mon, 25 Oct 2021 23:11:55 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Toke Høiland-Jørgensen <toke@...hat.com>
Cc: Robert Schlabbach <Robert.Schlabbach@....net>,
netdev@...r.kernel.org
Subject: Re: ixgbe: How to do this without a module parameter?
> If it can be set with ethtool already, and the issue is mostly the
> user-friendliness of this interface, how about teaching ethtool a
> symbolic parameter to do this for you? E.g. something equivalent to:
>
> 'ethtool --change eth0 advertise +nbase-t' ?
>
> Personally I wouldn't mind having this (symbolic names) for all the
> supported advertised modes; I also think it's a pain to have to go
> lookup the bit values whenever I need to change this...
Something like this has been talked about before, but nobody ever
spent the time to do it. ethtool has all the needed strings, so it
should not be too hard to actually do for link modes.
nbase-t is a bit different since it is not an actual link mode, but a
combination of many link modes.
What is also useful is that you can put ethtool settings into
/etc/network/interfaces.
Andrew
Powered by blists - more mailing lists