From patchwork Sat Mar 2 07:10:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saeed Mahameed X-Patchwork-Id: 13579448 X-Patchwork-Delegate: kuba@kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 585F2748F for ; Sat, 2 Mar 2024 07:10:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709363431; cv=none; b=drGZM8wrtfEcJHs+tz3//a6IVP/YG2zSg12v9Is4pOu1x3djjH/2HiRre0AjXPvK5uUtGbwIYgpA7SOYHEKXyiUA+3eyP6yuDbQoSTMeusiT+ElEKpEI4HCVTCJZ2C3+gOH5cN31y6cJr0iIJm+7wZCzVYZvJj6R07/7h2TQ4P4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709363431; c=relaxed/simple; bh=hoLds3QC8f9sRNnKiSb8DW9tQdQjcXCfMTOmC45MsYU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rhpllcO5InLFqZ5690RspSXmi7C/IXltGwFTm5IB0vEFXcKVwT2UzWubfxy14BJNGq6QRyz7wRaidDhvAsUDf6RZL2esf1LYpzoisg+WUoVs8S3pArJSeLI2RTyFYPmi5UTimnc0VG+jkYuFlOCtygX1ssG5sRkSoLxWJE2329s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EaIR+7wP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EaIR+7wP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94AADC433C7; Sat, 2 Mar 2024 07:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709363430; bh=hoLds3QC8f9sRNnKiSb8DW9tQdQjcXCfMTOmC45MsYU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EaIR+7wPOggeV3r2sVCHo7HtERYualCnt7L5U2itXCGFMNBMrrExDIdJnbESNJBs9 sHHmmqT4VnwSkhbwVpb4YbS+GUtK7FWKzxprbVYeKy4CwsVkLYlwpDGaBo1nmW/Gy8 2xoxZE2LHBghyPJ/LV3D6lc5WrPawo3vRCg3cOyOwZXSQrJJJJd59Ipfd5PRRxMTRc uL0+kI+Df3ky69W56QKYszlsv1KtV7S4q7/RGoBzZkjD4i3IcIs07rE0EV1K4HVJ0F ewwF50SUfI9GuiYc6pTaA36UWKAID8HEfXtBD5RPp+1HIuad3Rub3cszTfh6AeXnml CL1d0kAFtc/Iw== From: Saeed Mahameed To: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Gal Pressman , Leon Romanovsky , Jianbo Liu , Elliott, Robert , Roi Dayan Subject: [net V2 6/9] net/mlx5e: Change the warning when ignore_flow_level is not supported Date: Fri, 1 Mar 2024 23:10:25 -0800 Message-ID: <20240302071028.63879-1-saeed@kernel.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240302070318.62997-1-saeed@kernel.org> References: <20240302070318.62997-1-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org From: Jianbo Liu Downgrade the print from mlx5_core_warn() to mlx5_core_dbg(), as it is just a statement of fact that firmware doesn't support ignore flow level. And change the wording to "firmware flow level support is missing", to make it more accurate. Fixes: ae2ee3be99a8 ("net/mlx5: CT: Remove warning of ignore_flow_level support for VFs") Signed-off-by: Jianbo Liu Suggested-by: Elliott, Robert (Servers) Reviewed-by: Roi Dayan Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c index 86bf007fd05b..b500cc2c9689 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c @@ -37,7 +37,7 @@ mlx5e_tc_post_act_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, if (!MLX5_CAP_FLOWTABLE_TYPE(priv->mdev, ignore_flow_level, table_type)) { if (priv->mdev->coredev_type == MLX5_COREDEV_PF) - mlx5_core_warn(priv->mdev, "firmware level support is missing\n"); + mlx5_core_dbg(priv->mdev, "firmware flow level support is missing\n"); err = -EOPNOTSUPP; goto err_check; }