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-next>] [day] [month] [year] [list]
Message-ID: <CA+sq2Ce+AW3HUhqxa2Q9+2G0BGTnjuzLdnLLBVfeY=_0s6dANQ@mail.gmail.com>
Date:   Wed, 21 Apr 2021 18:12:16 +0530
From:   Sunil Kovvuri <sunil.kovvuri@...il.com>
To:     Linux Netdev List <netdev@...r.kernel.org>,
        Jakub Kicinski <kuba@...nel.org>, Andrew Lunn <andrew@...n.ch>
Cc:     Sunil Goutham <sgoutham@...vell.com>
Subject: How to toggle physical link via ethtool

Hi,

Have a query on how to bring down physical link (serdes) for a NIC interface.

I am under assumption that for a SR-IOV NIC, when user executes
"ifconfig eth-pf down",
it should not bring down physical link as there could be virtual
interfaces still active.
Let me know if this assumption itself is wrong.

If the assumption is correct and if user wants to intentionally bring
down physical link for
whatever reasons, then I do not see a way to do this. There are no
commands either in
'ethtool' or 'ip link' to achieve this.

Would it be okay to add a ethtool command similar to 'ethtool
--identify" to toggle physical link.

Thanks,
Sunil.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ