Helin, your review is needed.
Please check how to write a simple title.

2015-07-09 14:09, Zhe Tao:
> Issue: When calling the reset API to reset all the stats for i40e,
> all the stats will be untracked before the next time calling get stats API.
> Once calling the get stats API it will show all the stats equal zero.
> 
> Changes: Calling the get stats API in the reset API will force the 
> stats_offset update immediately  
> 
> Signed-off-by: Zhe Tao <zhe.tao at intel.com>
[...]
> +
> +     /*
> +     * need to read the status one time right after reset the offset_loaded 
> field
> +     * prevent the stats data loss between the i40e_dev_stats_reset and 
> i40e_dev_stats_get
> +     */

This comment seems complicated to understand.

> +
> +     i40e_dev_stats_get(dev, &stat);


Reply via email to