On Fri, 10 Feb 2023 16:06:06 +0300 Levend Sayar <[email protected]> wrote:
> +gve_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
> +{
> + uint16_t i;
> + struct rte_eth_stats tmp;
> +
> + memset(&tmp, 0, sizeof(tmp))
Why do you need tmp?
The stats pointer passed in is already available and zeroed.

