Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit a47ef8640a677a3973de48b8075f1fcd6a0ee68e ] When the stats_get api is called for the first time in pmd, the offset of the stats register is not recorded. That results in all the obtained count values being 0. This patch adds reset statistics before dev_init returning. That avoids some noise being counted. Fixes: 1244338 ("net/ice: support flex Rx descriptor RxDID22") Signed-off-by: Mingjin Ye <mingjinx.ye@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information