[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <6D0E96D7-CDF4-4889-831D-B83388035A2C@net-swift.com>
Date: Wed, 26 Jul 2023 09:59:15 +0800
From: "mengyuanlou@...-swift.com" <mengyuanlou@...-swift.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] net: ngbe: add ncsi_enable flag for wangxun
nics
> 2023年7月26日 07:22,Jakub Kicinski <kuba@...nel.org> 写道:
>
> On Mon, 24 Jul 2023 17:24:58 +0800 Mengyuan Lou wrote:
>> + netdev->ncsi_enabled = wx->ncsi_hw_supported;
>
> I don't think that enabled and supported are the same thing.
> If server has multiple NICs or a NIC with multiple ports and
> BMC only uses one, or even none, we shouldn't keep the PHY up.
> By that logic 99% of server NICs should report NCSI as enabled.
>
>
For a NIC with multiple ports, BMC switch connection for port0 to port1 online,
Drivers can not know port1 should keep up, if do not set ncsi_enabled before.
Powered by blists - more mailing lists