net/mlx5: reduce log level in hash list registration
authorMatan Azrad <matan@nvidia.com>
Mon, 23 Nov 2020 15:56:42 +0000 (15:56 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 24 Nov 2020 22:30:21 +0000 (23:30 +0100)
commite98f479df941e09984b54486f3286b0764846a88
treec01257eb92b88784e1b79459589428e81efecb3f
parent6e09c7bb6fbd6bf405af13b6abd1536362ba8aff
net/mlx5: reduce log level in hash list registration

In mlx5 internal hash list tool, there is a log print when an entry
allocation is failed: Can't allocate hash list entry.

Some initialization checks triggers hash list registration in order to
check some capabilities. Here, the failure in registration doesn't
lead to failure in the initialization flow, that is why the log level
can be lower.

Move the entry allocation failure log to debug level.

Signed-off-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Asaf Penso <asafp@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_utils.c