From: Thomas Monjalon Date: Tue, 9 Mar 2021 09:48:36 +0000 (+0100) Subject: net/mlx5: reduce log level of alignment message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a8a15654ab6b598b081b13ecbf8c7d06dd485a72;p=dpdk.git net/mlx5: reduce log level of alignment message Having to force an alignment does not impact the user, so it should not be a warning. The log level is reduced from warning to debug. Signed-off-by: Thomas Monjalon Acked-by: Matan Azrad --- diff --git a/drivers/net/mlx5/mlx5_utils.c b/drivers/net/mlx5/mlx5_utils.c index 07373bff02..a39b5edddc 100644 --- a/drivers/net/mlx5/mlx5_utils.c +++ b/drivers/net/mlx5/mlx5_utils.c @@ -40,8 +40,8 @@ mlx5_hlist_create(const char *name, uint32_t size, uint32_t entry_size, /* Align to the next power of 2, 32bits integer is enough now. */ if (!rte_is_power_of_2(size)) { act_size = rte_align32pow2(size); - DRV_LOG(WARNING, "Size 0x%" PRIX32 " is not power of 2, will " - "be aligned to 0x%" PRIX32 ".", size, act_size); + DRV_LOG(DEBUG, "Size 0x%" PRIX32 " is not power of 2, " + "will be aligned to 0x%" PRIX32 ".", size, act_size); } else { act_size = size; }