From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] bnxt_en: Don't print "Link speed -1 no longer supported" messages. Date: Thu, 07 Dec 2017 13:36:52 -0500 (EST) Message-ID: <20171207.133652.679977779642108439.davem@davemloft.net> References: <1512599482-31273-1-git-send-email-michael.chan@broadcom.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: tbogendoerfer@suse.de, netdev@vger.kernel.org To: michael.chan@broadcom.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:41986 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbdLGSg5 (ORCPT ); Thu, 7 Dec 2017 13:36:57 -0500 In-Reply-To: <1512599482-31273-1-git-send-email-michael.chan@broadcom.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Michael Chan Date: Wed, 6 Dec 2017 17:31:22 -0500 > On some dual port NICs, the 2 ports have to be configured with compatible > link speeds. Under some conditions, a port's configured speed may no > longer be supported. The firmware will send a message to the driver > when this happens. > > Improve this logic that prints out the warning by only printing it if > we can determine the link speed that is no longer supported. If the > speed is unknown or it is in autoneg mode, skip the warning message. > > Reported-by: Thomas Bogendoerfer > Signed-off-by: Michael Chan Applied, thanks Michael.