net/mvneta: do not use PMD log type
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Mar 2020 04:41:50 +0000 (21:41 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:05 +0000 (13:57 +0200)
The PMD logtype is legacy and should not be used.

Fixes: 3378383dceab ("net/mvneta: support statistics reset")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/mvneta/mvneta_ethdev.c

index 865ad61..4aea876 100644 (file)
@@ -751,7 +751,7 @@ mvneta_stats_reset(struct rte_eth_dev *dev)
 
        ret = mvneta_stats_get(dev, &priv->prev_stats);
        if (unlikely(ret))
-               RTE_LOG(ERR, PMD, "Failed to reset port statistics");
+               MVNETA_LOG(ERR, "Failed to reset port statistics");
 
        return ret;
 }