lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <trinity-cc7ee762-b84d-4980-b38c-a8083fd0c1ff-1635292252562@3c-app-gmx-bs06>
Date:   Wed, 27 Oct 2021 01:50:52 +0200
From:   Robert Schlabbach <Robert.Schlabbach@....net>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     Toke Høiland-Jørgensen <toke@...hat.com>,
        netdev@...r.kernel.org
Subject: Aw: Re: ixgbe: How to do this without a module parameter?

"Andrew Lunn" <andrew@...n.ch> wrote:
> > 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.

It appears somebody already did, because I found that my Debian 11.1
server (with kernel version 5.14) actually takes this command:

$ ethtool -s eno3 advertise 2500baseT/Full on 5000baseT/Full on

The parsing seems to be implemented in the kernel, because when I copy
the binary over to my Ubuntu machine (with kernel version 4.15), any
attempt to specify a link mode name only yields:

ethtool: bad command line argument(s)

Best regards,
-Robert Schlabbach

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ