Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751825AbdLOGGv (ORCPT ); Fri, 15 Dec 2017 01:06:51 -0500 Received: from ozlabs.org ([103.22.144.67]:55073 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbdLOGGs (ORCPT ); Fri, 15 Dec 2017 01:06:48 -0500 Subject: Re: [PATCH net-next] net/ncsi: Don't take any action on HNCDSC AEN To: Samuel Mendoza-Jonas , netdev@vger.kernel.org Cc: openbmc@lists.ozlabs.org, "David S . Miller" , linux-kernel@vger.kernel.org, Brian J King References: <20171215051640.10926-1-sam@mendozajonas.com> From: Jeremy Kerr Message-ID: Date: Fri, 15 Dec 2017 14:06:45 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171215051640.10926-1-sam@mendozajonas.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 27 Hi Sam, > The current HNCDSC handler takes the status flag from the AEN packet and > will update or change the current channel based on this flag and the > current channel status. > > However the flag from the HNCDSC packet merely represents the host link > state. While the state of the host interface is potentially interesting > information it should not affect the state of the NCSI link. Indeed the > NCSI specification makes no mention of any recommended action related to > the host network controller driver state. Yep, sounds good to me. If the link status does change, we should see an separate AEN for that event. Acked-by: Jeremy Kerr However: we're looking at some behaviour of Broadcom NICs at the moment, where the phy will be reset on link change events. We'd want to make sure that we're not just seeing the HNCDSC events for that too. I'd suggest we also get an Ack from Brian (CCed) to make sure we're not breaking that case. Cheers, Jeremy