Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2815496pxb; Thu, 3 Feb 2022 15:21:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrgbGvU1oUYHReJoZzgk9L/UYxIhJLAjcm/wfo91ZbG8jL1fWXpZV8+2BiMy+plC47O8ut X-Received: by 2002:aa7:c659:: with SMTP id z25mr494922edr.160.1643930517650; Thu, 03 Feb 2022 15:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643930517; cv=none; d=google.com; s=arc-20160816; b=0/4zgz2SB3lBjBPcD6tYqgrkUpCWUGp0IIKmreCs2E2nYOz3DQgld/SpA1IDl6TSmI 8fDRdFkrv2Aeqz5VjNcgnLDJHPebxbca4YRRtjiE2Wz0G5k0W9Guvpy8X+6ggYV7Nryx QUSxVrLd+yB6Q8ukbCb3KF+6QuL+zyl32oVGFaVBX7DrwpNzOK6t9G9UEIuOrheMnmMU MJLp08nlQojRdlGbmjMRtHW/G73wzI3tHuL/RtHqRw/+SVL0bQXimzKDGEAzK5fRhl7i xLldzQ/JZo7UrAUUUeBJCaIVV/4sLviiwZtqLPWTEyCl1KvgkAExqhG70O51srj1fD6g cqXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=y0HNmgxmLxNYUa/mu5DTm3vHFzk7CSUGWJbL+LbLOPA=; b=sz0tYzVs6Mzop5IUcc3dVvvU9TmQyGnrlNxoiqTHodt3HQalJw7JMMHDCKTNNhPc1h 2KB+MoU47NJQg0B94jhzvQaZWsoYdtl8l6xG7VU1a+tYjv24jcjtEMUvz4OZm+t7yqQK 3ALgHePuADYFOPHrMQUyQ5fDbblVwKbotDJyV6vWEKupRbJQR6caBUGaLxAZtfbfyA8j Fzv5FYzOvi1mG5OaPN/kpHusO+vaYoXFVU34+r6/LrPme6ta93A1bB6MFP825N6JBnO9 G232Qkx62jLxwF0SGW/ITrtz93zKBTNIdlgaCKkPim0dDK7fZu7NwVyg7VaXSJtdZ7rV Tk7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dblI8eQw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y6si101027edq.49.2022.02.03.15.21.31; Thu, 03 Feb 2022 15:21:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dblI8eQw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353039AbiBCRpb (ORCPT + 99 others); Thu, 3 Feb 2022 12:45:31 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:57661 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353021AbiBCRp1 (ORCPT ); Thu, 3 Feb 2022 12:45:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643910327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y0HNmgxmLxNYUa/mu5DTm3vHFzk7CSUGWJbL+LbLOPA=; b=dblI8eQwlUwE+CxCgKbQCTd7a/z9Jj7eSNGLpnkZlaan1aMtE5lytj6ZIa1BVaGseAs6Da Aza8ZSf0XoXtZ2KpbXAE58EhHLQ3i1heYaC/siXZkkyBsPrwibRx0PFm0Jq/KTa2wJL53t zyst6aln3qWfmwHHJ1Q0uxg/Td1IVrE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-107-R4gKHM00NCun__whOSiC9A-1; Thu, 03 Feb 2022 12:45:23 -0500 X-MC-Unique: R4gKHM00NCun__whOSiC9A-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7F1671091DA1; Thu, 3 Feb 2022 17:45:21 +0000 (UTC) Received: from jtoppins.rdu.csb (unknown [10.22.33.211]) by smtp.corp.redhat.com (Postfix) with ESMTP id 31E5F4CEC7; Thu, 3 Feb 2022 17:45:20 +0000 (UTC) From: Jonathan Toppins To: netdev@vger.kernel.org Cc: intel-wired-lan@lists.osuosl.org, lihong.yang@intel.com, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org Subject: [PATCH v2] ice: change "can't set link" message to dbg level Date: Thu, 3 Feb 2022 12:45:16 -0500 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the case where the link is owned by manageability, the firmware is not allowed to set the link state, so an error code is returned. This however is non-fatal and there is nothing the operator can do, so instead of confusing the operator with messages they can do nothing about hide this message behind the debug log level. Signed-off-by: Jonathan Toppins --- drivers/net/ethernet/intel/ice/ice_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 0c187cf04fcf..81b152133d11 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -4117,9 +4117,9 @@ int ice_set_link(struct ice_vsi *vsi, bool ena) */ if (status == -EIO) { if (hw->adminq.sq_last_status == ICE_AQ_RC_EMODE) - dev_warn(dev, "can't set link to %s, err %d aq_err %s. not fatal, continuing\n", - (ena ? "ON" : "OFF"), status, - ice_aq_str(hw->adminq.sq_last_status)); + dev_dbg(dev, "can't set link to %s, err %d aq_err %s. not fatal, continuing\n", + (ena ? "ON" : "OFF"), status, + ice_aq_str(hw->adminq.sq_last_status)); } else if (status) { dev_err(dev, "can't set link to %s, err %d aq_err %s\n", (ena ? "ON" : "OFF"), status, -- 2.27.0