From: Stephen Hemminger Date: Tue, 31 Mar 2020 04:41:50 +0000 (-0700) Subject: net/mvneta: do not use PMD log type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cb0205ce0a5440d68f5e320aa52cb737193857ac;p=dpdk.git net/mvneta: do not use PMD log type 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 Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/mvneta/mvneta_ethdev.c b/drivers/net/mvneta/mvneta_ethdev.c index 865ad61aed..4aea876488 100644 --- a/drivers/net/mvneta/mvneta_ethdev.c +++ b/drivers/net/mvneta/mvneta_ethdev.c @@ -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; }