From: Venkat Duvvuru Date: Wed, 13 Nov 2019 08:29:44 +0000 (+0530) Subject: net/bnxt: fix log message level X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ae6a941dd9be62a783a8d4e1bafa5df894401936;p=dpdk.git net/bnxt: fix log message level When an existing mac_addr is tried to get programmed again, a message is displayed that the mac_addr already exists. However the message is of type ERR. This patch changes the message to type DEBUG Fixes: 938a87db4324 ("net/bnxt: fix redundant MAC address check") Cc: stable@dpdk.org Signed-off-by: Venkat Duvvuru Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index b00966942b..393706b800 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -1024,7 +1024,7 @@ static int bnxt_add_mac_filter(struct bnxt *bp, struct bnxt_vnic_info *vnic, /* Attach requested MAC address to the new l2_filter */ STAILQ_FOREACH(filter, &vnic->filter, next) { if (filter->mac_index == index) { - PMD_DRV_LOG(ERR, + PMD_DRV_LOG(DEBUG, "MAC addr already existed for pool %d\n", pool); return 0;