1) handle_async_event is a DEBUG level log message.
2) Log "Unable to get default VNIC for VF %d" at INFO level.

Fixes: 36735a932ca7 ("support set VF QOS and MAC anti spoof")

Signed-off-by: Stephen Hurd <stephen.h...@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khapa...@broadcom.com>
---
 drivers/net/bnxt/bnxt_cpr.c     | 2 +-
 drivers/net/bnxt/rte_pmd_bnxt.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/bnxt/bnxt_cpr.c b/drivers/net/bnxt/bnxt_cpr.c
index f369cf6..68979bc 100644
--- a/drivers/net/bnxt/bnxt_cpr.c
+++ b/drivers/net/bnxt/bnxt_cpr.c
@@ -58,7 +58,7 @@ void bnxt_handle_async_event(struct bnxt *bp,
                bnxt_link_update_op(bp->eth_dev, 0);
                break;
        default:
-               RTE_LOG(ERR, PMD, "handle_async_event id = 0x%x\n", event_id);
+               RTE_LOG(DEBUG, PMD, "handle_async_event id = 0x%x\n", event_id);
                break;
        }
 }
diff --git a/drivers/net/bnxt/rte_pmd_bnxt.c b/drivers/net/bnxt/rte_pmd_bnxt.c
index dd04f58..0a8fb1e 100644
--- a/drivers/net/bnxt/rte_pmd_bnxt.c
+++ b/drivers/net/bnxt/rte_pmd_bnxt.c
@@ -333,7 +333,7 @@ int rte_pmd_bnxt_set_vf_vlan_anti_spoof(uint8_t port, 
uint16_t vf, uint8_t on)
                                 * This simply indicates there's no driver
                                 * loaded.  This is not an error.
                                 */
-                               RTE_LOG(ERR, PMD,
+                               RTE_LOG(INFO, PMD,
                                      "Unable to get default VNIC for VF %d\n",
                                        vf);
                        } else {
-- 
2.10.1 (Apple Git-78)

Reply via email to