net/mlx5: DR, Reduce print level for FT chaining level check
authorBodong Wang <bodong@mellanox.com>
Wed, 26 Aug 2020 15:59:54 +0000 (10:59 -0500)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:38:01 +0000 (15:38 -0700)
There are usecases with Connection Tracking that have such connection
as default, printing this warning in dmesg confuses the user.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c

index e311faa..dcaf0bb 100644 (file)
@@ -590,8 +590,8 @@ int mlx5dr_actions_build_ste_arr(struct mlx5dr_matcher *matcher,
                                        return -EINVAL;
                                }
                                if (dest_tbl->tbl->level <= matcher->tbl->level) {
-                                       mlx5_core_warn_once(dmn->mdev,
-                                                           "Connecting table to a lower/same level destination table\n");
+                                       mlx5_core_dbg_once(dmn->mdev,
+                                                          "Connecting table to a lower/same level destination table\n");
                                        mlx5dr_dbg(dmn,
                                                   "Connecting table at level %d to a destination table at level %d\n",
                                                   matcher->tbl->level,