From: Alex Vesker <va...@mellanox.com>

There is no need to print on each unsuccessful matcher
ip_version combination since it probably will happen when
trying to create all the possible combinations.
On a real failure we have a print in the calling function.

Signed-off-by: Alex Vesker <va...@mellanox.com>
Signed-off-by: Saeed Mahameed <sae...@mellanox.com>
---
 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c 
b/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
index 31abcbb95ca29..6960aedd33cb8 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c
@@ -395,7 +395,7 @@ static int dr_matcher_set_ste_builders(struct 
mlx5dr_matcher *matcher,
        /* Check that all mask fields were consumed */
        for (i = 0; i < sizeof(struct mlx5dr_match_param); i++) {
                if (((u8 *)&mask)[i] != 0) {
-                       mlx5dr_err(dmn, "Mask contains unsupported 
parameters\n");
+                       mlx5dr_dbg(dmn, "Mask contains unsupported 
parameters\n");
                        return -EOPNOTSUPP;
                }
        }
-- 
2.26.2

Reply via email to