Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp328413pxb; Mon, 7 Feb 2022 12:21:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeE3mQWfZuU0pcwuVaozARH9z5FSIczG8U2VXi+Fqve+QoJihEzB/S+a1wzo9BkYFMP1pF X-Received: by 2002:aa7:df1a:: with SMTP id c26mr1186592edy.416.1644265271694; Mon, 07 Feb 2022 12:21:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644265271; cv=none; d=google.com; s=arc-20160816; b=FhZZjo/PfiBWNAhy3Zy26Gc0QV4nyLGYnsXMW8siVNGPAqHTI1PrxUr/i+LCLr5EZB JKS1GnULZ2DUzzjAliHAtW4PR2UM7IGmHhqOUrcMB9LZvBxj2M0fOQyuT7iQIMKwvwMr 4JYMObVe8VeBcD55A8wuGp1zjeBzPEUn9lyVkjzM4MytlQj7/Ym+mrCqFgvOf30O9RFr 9K4ufSkizoZ/Vjfo5i+GR93dBwaUFEADY+zdOFuZwujBnB6uVKpLSCwpqIlpH1bEvpGS 3svSF2ZEek8SLGo0zzzBdA0kpP6PzCks+hqljgsVjX2ruJZIIAoKH6RHv14QUUOoZWvk Mmyg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=S9TZGGpkY8ClrJIAqOZuOM+ORZH1aSNITt2XNgVBP98=; b=eZPUzwBcFZBj6a2gi6QR91HmvsW9T8K1aYn9pNaPxJthEp9JxQ4VzjP8z185hHXJ9Z 1vv9NkKWHkg5H6rO9vu0+r99exEDsbVl9AndK70Liz2MNR/l0n86Y+mRHFMvAm1gmE5z dxQS0vXs/FykLUZPG8DTDBBZieEHndNHyn19AChk0fKmzFfpacUxxq6gr+9x85SUHALl GparLXOshIJ1abnsspZ37NKldIucj2T9ygtnICQHXyS2hXFzOpZnJkjvuBqZru1OjT/k KWwfxBS9qmBwnTpfmk+d8wOvm1gGpW46rqoZ49l/B0rkln71DbhXFkU5zK8t+wOhSZtd 9ArA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VXgoRQih; 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 7si7788162ejd.1009.2022.02.07.12.20.47; Mon, 07 Feb 2022 12:21:11 -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=VXgoRQih; 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 S1347144AbiBBUjB (ORCPT + 99 others); Wed, 2 Feb 2022 15:39:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:28897 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiBBUjA (ORCPT ); Wed, 2 Feb 2022 15:39:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643834339; 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; bh=S9TZGGpkY8ClrJIAqOZuOM+ORZH1aSNITt2XNgVBP98=; b=VXgoRQihhlYCQL59KD9VLYLj9AcKn0LIEmqlpYcMJCOGo0qAs/kfCYlUw+evOUvh/OSVqe sc1wahaqIutotE9/GMPPtJ1/WtKqyivPx9b6ekVuZLYENsJc7hffLYVRegVfPvMfYJtukP Dhbh9/44ly79Mw08aHmL08cB2/im9AU= 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-584-RBE7rWeDNaKCSpXrFXqccQ-1; Wed, 02 Feb 2022 15:38:56 -0500 X-MC-Unique: RBE7rWeDNaKCSpXrFXqccQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C9733835B66; Wed, 2 Feb 2022 20:38:54 +0000 (UTC) Received: from jtoppins.rdu.csb (unknown [10.22.19.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id C693D56F66; Wed, 2 Feb 2022 20:38:53 +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] ice: change "can't set link" message to dbg level Date: Wed, 2 Feb 2022 15:38:49 -0500 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 0c187cf04fcf..2c6dad56a48d 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c @@ -4117,7 +4117,7 @@ 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", + 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) { -- 2.27.0