Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp725606pxb; Tue, 2 Feb 2021 16:48:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwan1mc7HwkRbNG4lvybX8CLAUCy3EQQN7x7mHeZsnjC5h8WKJOxgeFRVKBQAspVR/nVQHs X-Received: by 2002:a17:906:7cb:: with SMTP id m11mr642262ejc.332.1612313334365; Tue, 02 Feb 2021 16:48:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313334; cv=none; d=google.com; s=arc-20160816; b=Rk5w5GIiz8WdhZABv6n/KKwCaS7Rpf5iMVnM/bTXrakZzcwcqTLtuLub/4xp/SotdY MspWXlxT19/K2yRBZ19LVIN0xtz4bNl6W+XCDiTsMP0izWQ5mKJ15g4oW65Q5gPu5EPt At2nt7BExmH6VkPTeK6YzF5+WZViFHSRJlzUab5oeOmgQPGGdnX2GRKeomY8TXnAwKp9 jsqA27NpHt+JkcKTs8UvUrJadhLfM275J8kaZNEpCvFq+nyCXZZH+FX2Xzli1Ummf38z 4rcEL74jNsuT/uvXEKduBHR6wGtGy+C8fzJ+T3iM8PI9DkHPzf3BX7lNFyjrVaJknQkv R11g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4AV/+/ezKCedsZne0PJt6OI3B6cTGznftlCnhPew7YA=; b=h230BtasL/QSyN0YD2oFGblIEdSPc/d43ptpMz+pCc3XcNydqBTeUbmeacfxkgMYot WeWhCvdqWTgiPs/RDs2J2HfWsQr3VyLzjfxNCyNDZf/GAEZI3AkjlwTPItElLvE5DzLL /crGmtkHx9HPCaR+B4N1Yqvqxb/mNXiEIz5weZVJO++x+ETnj9gziEvbzRlpbkKhwxSb REENSYlWlLETZ9bo01RMypMIsUqQjECltGzIn1aQcraqjsjU/9OC9W/7PQROiAIVy8To A0SWTlPl5jJRrjnRNK9/x9a059D2lFHQLADlA1TF8mBcummixADQOjQdwmZVduj/d0fD SgxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qxzIXssV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si285498ejz.557.2021.02.02.16.48.29; Tue, 02 Feb 2021 16:48:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qxzIXssV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239826AbhBBTco (ORCPT + 99 others); Tue, 2 Feb 2021 14:32:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:45052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233045AbhBBN5b (ORCPT ); Tue, 2 Feb 2021 08:57:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id AF2A664FED; Tue, 2 Feb 2021 13:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273552; bh=mSuHFssorb0V8K+xCWhq1W5lbtxNfBng/VF5CwzUrw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qxzIXssV4A6qWgzAzvZiId7+K4tkrmG0wL6wG0BmeDKl3mEKKftQV/lxNxZ/38BCV wAVpUNkUJugympoQJskTtP23WJ5F+gpxfLs+gbm6tHfx/gVdStw6/ihCKvthfQ4rJf QyHOKFOeGmjysze4jONu0FHsXk0JorJRpDxDz5AA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maor Dickman , Roi Dayan , Saeed Mahameed , Sasha Levin Subject: [PATCH 5.10 117/142] net/mlx5e: Reduce tc unsupported key print level Date: Tue, 2 Feb 2021 14:38:00 +0100 Message-Id: <20210202133002.537403013@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maor Dickman [ Upstream commit 48470a90a42a64dd2f70743a149894a292b356e0 ] "Unsupported key used:" appears in kernel log when flows with unsupported key are used, arp fields for example. OpenVSwitch was changed to match on arp fields by default that caused this warning to appear in kernel log for every arp rule, which can be a lot. Fix by lowering print level from warning to debug. Fixes: e3a2b7ed018e ("net/mlx5e: Support offload cls_flower with drop action") Signed-off-by: Maor Dickman Reviewed-by: Roi Dayan Reviewed-by: Saeed Mahameed Signed-off-by: Saeed Mahameed Signed-off-by: Sasha Levin --- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c index 98cd5d8b0cd8b..3be34b1128731 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c @@ -2272,8 +2272,8 @@ static int __parse_cls_flower(struct mlx5e_priv *priv, BIT(FLOW_DISSECTOR_KEY_ENC_OPTS) | BIT(FLOW_DISSECTOR_KEY_MPLS))) { NL_SET_ERR_MSG_MOD(extack, "Unsupported key"); - netdev_warn(priv->netdev, "Unsupported key used: 0x%x\n", - dissector->used_keys); + netdev_dbg(priv->netdev, "Unsupported key used: 0x%x\n", + dissector->used_keys); return -EOPNOTSUPP; } -- 2.27.0