[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <362f04fc-dafb-4091-a0cc-b94931083278@lunn.ch>
Date: Sun, 25 Jun 2023 17:40:30 +0200
From: Andrew Lunn <andrew@...n.ch>
To: "mengyuanlou@...-swift.com" <mengyuanlou@...-swift.com>
Cc: Jakub Kicinski <kuba@...nel.org>, Jiawen Wu <jiawenwu@...stnetic.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: txgbe: change hw reset mode
On Sun, Jun 25, 2023 at 04:31:01PM +0800, mengyuanlou@...-swift.com wrote:
>
>
> > 2023年6月23日 10:21,Jakub Kicinski <kuba@...nel.org> 写道:
> >
> > On Wed, 21 Jun 2023 17:06:45 +0800 Jiawen Wu wrote:
> >> The old way to do hardware reset is sending reset command to firmware.
> >> In order to adapt to the new firmware, driver directly write register
> >> of LAN reset instead of the old way.
> >
> > Which versions of the FW use one method vs the other? Why is it okay
> > to change the driver for new FW, are there no devices running old FW
> > in the wild? Or the new method is safe for both?
>
> Lan reset contains of phy reset and dma reset.
> New FW versions will support NCSI/LLDP which needs phy not to down.
> When drivers do lan reset, fw can set a veto bit to block phy reset and
> still to do dma reset.
That does not answer the question. Is this backwards compatible with
old firmware?
Andrew
Powered by blists - more mailing lists