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] [day] [month] [year] [list]
Date:   Tue, 1 Jun 2021 16:12:29 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Asmaa Mnebhi <asmaa@...dia.com>
Cc:     David Thompson <davthompson@...dia.com>,
        "davem@...emloft.net" <davem@...emloft.net>,
        "kuba@...nel.org" <kuba@...nel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        Liming Sun <limings@...dia.com>
Subject: Re: [PATCH net-next v5] Add Mellanox BlueField Gigabit Ethernet
 driver

> I guess I misunderstood. I thought 1G speed always requires
> autonegotiation. And phy_support_sym_pause would display that the
> only pause supported by this MAC is symmetric. But what you are
> saying is that we don't really "negotiate" the pause since our MAC
> HW supports only symmetric pause?

The point of negotiation is that the link peer can say it does not
support pause, because it is missing the needed hardware, or because
of a policy decision. Pause can be bad, particularly if used away from
the leaf nodes of the network. If the negotiation says pause should
not be used, you really should not use it.

Now, you hardware seems to be very limited. You cannot turn pause
off. It is hard coded on. So you cannot negotiate this feature. You
need to report that in ethtool. And you are also going to have to
manually configure pause in the link peer. Since it cannot be
negotiated, the peer is not going to use pause. Meaning by default,
pause in your MAC is pointless. You need to manually configure pause
in the link peer, by telling it to also not to negotiate, and perform
fixed symmetric pause.

Hopefully for the next generation of the hardware, you can fix this
bad design decision.

	Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ