From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BEA8F43DF8 for ; Thu, 4 Apr 2024 11:52:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 704204067B; Thu, 4 Apr 2024 11:52:37 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 2BADB402EA for ; Thu, 4 Apr 2024 11:52:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712224355; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dz/oaEcBiz6QQqR0ZSM97Lb8uKApGb0J6G9eGka2XTY=; b=Ex0Foss//keCPhlXH3PFYVmxOzOz47lDZpI7fOsUke2m5y84OvSvpTkygMrx7vECnZhNl+ M+/1S1GTfwZCpfV/jQbpmn5r1PJPfEuNTJc4I8zfO/G8wpCMOZmzrCKAwdVip2l15AmUYi mvYKckJHZXtg7qTiTArMruOWez+q3lo= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-475-MAUqzMEgMZKBUKeI4ICQVg-1; Thu, 04 Apr 2024 05:52:34 -0400 X-MC-Unique: MAUqzMEgMZKBUKeI4ICQVg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 074CD38041CC; Thu, 4 Apr 2024 09:52:34 +0000 (UTC) Received: from rh.Home (unknown [10.39.192.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5CD113C24; Thu, 4 Apr 2024 09:52:33 +0000 (UTC) From: Kevin Traynor To: Eli Britstein Cc: Viacheslav Ovsiienko , dpdk stable Subject: patch 'net/mlx5: prevent ioctl failure log flooding' has been queued to stable release 21.11.7 Date: Thu, 4 Apr 2024 10:51:39 +0100 Message-ID: <20240404095155.155427-9-ktraynor@redhat.com> In-Reply-To: <20240404095155.155427-1-ktraynor@redhat.com> References: <20240404095155.155427-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/09/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/eadfb0fbb89359dcd3e846ab88a6988a1c69f61d Thanks. Kevin --- >From eadfb0fbb89359dcd3e846ab88a6988a1c69f61d Mon Sep 17 00:00:00 2001 From: Eli Britstein Date: Thu, 7 Mar 2024 08:13:45 +0200 Subject: [PATCH] net/mlx5: prevent ioctl failure log flooding [ upstream commit 84ba1440c5dff8d716c1a2643aa3eb5e806619ff ] The following log is printed in WARNING severity: mlx5_net: port 1 ioctl(SIOCETHTOOL, ETHTOOL_GPAUSEPARAM) failed: Operation not supported Reduce the severity to DEBUG to prevent this log from flooding when there are hundreds of ports probed without supporting this flow ctrl query. Fixes: 1256805dd54d ("net/mlx5: move Linux-specific functions") Signed-off-by: Eli Britstein Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/linux/mlx5_ethdev_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/linux/mlx5_ethdev_os.c b/drivers/net/mlx5/linux/mlx5_ethdev_os.c index 5d73076cb3..a181a19f29 100644 --- a/drivers/net/mlx5/linux/mlx5_ethdev_os.c +++ b/drivers/net/mlx5/linux/mlx5_ethdev_os.c @@ -671,5 +671,5 @@ mlx5_dev_get_flow_ctrl(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) ret = mlx5_ifreq(dev, SIOCETHTOOL, &ifr); if (ret) { - DRV_LOG(WARNING, + DRV_LOG(DEBUG, "port %u ioctl(SIOCETHTOOL, ETHTOOL_GPAUSEPARAM) failed:" " %s", -- 2.44.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-04 10:49:34.215740322 +0100 +++ 0009-net-mlx5-prevent-ioctl-failure-log-flooding.patch 2024-04-04 10:49:33.716457648 +0100 @@ -1 +1 @@ -From 84ba1440c5dff8d716c1a2643aa3eb5e806619ff Mon Sep 17 00:00:00 2001 +From eadfb0fbb89359dcd3e846ab88a6988a1c69f61d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 84ba1440c5dff8d716c1a2643aa3eb5e806619ff ] + @@ -16 +17,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index e1bc3f7c2e..1f511d6e00 100644 +index 5d73076cb3..a181a19f29 100644 @@ -28 +29 @@ -@@ -672,5 +672,5 @@ mlx5_dev_get_flow_ctrl(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf) +@@ -671,5 +671,5 @@ mlx5_dev_get_flow_ctrl(struct rte_eth_dev *dev, struct rte_eth_fc_conf *fc_conf)