net/bnxt: fix debug log level
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 28 Oct 2019 16:53:39 +0000 (09:53 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:04 +0000 (23:15 +0100)
Creating a flow is a normal event; should not be logged at error level.

Fixes: 5c1171c97216 ("net/bnxt: refactor filter/flow")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_flow.c

index cad232a..8f386cd 100644 (file)
@@ -1758,7 +1758,7 @@ done:
                }
 
                STAILQ_INSERT_TAIL(&vnic->filter, filter, next);
-               PMD_DRV_LOG(ERR, "Successfully created flow.\n");
+               PMD_DRV_LOG(DEBUG, "Successfully created flow.\n");
                STAILQ_INSERT_TAIL(&vnic->flow_list, flow, next);
                bnxt_release_flow_lock(bp);
                return flow;