From: Andrew Lunn <andrew@lunn.ch>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: Robert Schlabbach <Robert.Schlabbach@gmx.net>, netdev@vger.kernel.org
Subject: Re: ixgbe: How to do this without a module parameter?
Date: Mon, 25 Oct 2021 23:11:55 +0200 [thread overview]
Message-ID: <YXcdmyONutFH8E6l@lunn.ch> (raw)
In-Reply-To: <87k0i0bz2a.fsf@toke.dk>
> 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
next prev parent reply other threads:[~2021-10-25 21:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 20:23 ixgbe: How to do this without a module parameter? Robert Schlabbach
2021-10-25 20:59 ` Toke Høiland-Jørgensen
2021-10-25 21:11 ` Andrew Lunn [this message]
2021-10-25 23:47 ` Robert Schlabbach
2021-10-26 0:32 ` Andrew Lunn
2021-10-26 23:50 ` Aw: " Robert Schlabbach
2021-10-27 0:15 ` Andrew Lunn
2021-10-27 19:12 ` Robert Schlabbach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YXcdmyONutFH8E6l@lunn.ch \
--to=andrew@lunn.ch \
--cc=Robert.Schlabbach@gmx.net \
--cc=netdev@vger.kernel.org \
--cc=toke@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.