net/mlx5: DR, Reduce print level for matcher print
authorAlex Vesker <valex@mellanox.com>
Mon, 6 Jul 2020 13:32:11 +0000 (16:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 28 Jul 2020 09:37:52 +0000 (02:37 -0700)
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 <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c

index 31abcbb..6960aed 100644 (file)
@@ -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;
                }
        }