net/mlx5: Use debug message instead of warn
authorYishai Hadas <yishaih@mellanox.com>
Thu, 8 Aug 2019 08:43:55 +0000 (11:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Tue, 13 Aug 2019 09:58:06 +0000 (12:58 +0300)
As QP may be created by DEVX, it may be valid to not find the rsn in
mlx5 core tree, change the level to be debug.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/qp.c

index 7b44d1e..c3aea4c 100644 (file)
@@ -162,7 +162,7 @@ static int rsc_event_notifier(struct notifier_block *nb,
 
        common = mlx5_get_rsc(table, rsn);
        if (!common) {
-               mlx5_core_warn(dev, "Async event for bogus resource 0x%x\n", rsn);
+               mlx5_core_dbg(dev, "Async event for unknown resource 0x%x\n", rsn);
                return NOTIFY_OK;
        }