reset device statistics on device initialization
Signed-off-by: Yuri Chipchev <yuric@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
Tested-by: Yuri Chipchev <yuric@marvell.com>
static int mvneta_dev_num;
+static void mvneta_stats_reset(struct rte_eth_dev *dev);
+
/**
* Deinitialize packet processor.
*/
}
priv->ppio_id = priv->ppio->port_id;
+ mvneta_stats_reset(dev);
+
/*
* In case there are some some stale uc/mc mac addresses flush them
* here. It cannot be done during mvneta_dev_close() as port information