Skip to content

Commit

Permalink
net/mvneta: do not use PMD log type
Browse files Browse the repository at this point in the history
[ upstream commit cb0205c ]

The PMD logtype is legacy and should not be used.

Fixes: 3378383 ("net/mvneta: support statistics reset")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
  • Loading branch information
shemminger authored and kevintraynor committed May 27, 2020
1 parent 626b59e commit a5510de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/mvneta/mvneta_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,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");
}


Expand Down

0 comments on commit a5510de

Please sign in to comment.