RE: [PATCH v2] net/ice: fix DCF port statistics not cleared

2023-11-01 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Thursday, November 2, 2023 9:51 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Liao, TingtingX ; Zeng, > ZhichaoX ; Yang, Qiming > ; Zhang, Qi Z ; Wang, > Haiyue > Subject: [PATCH v2] net/ice: fix DCF

[PATCH v2] net/ice: fix DCF port statistics not cleared

2023-11-01 Thread Zhichao Zeng
Call 'ice_dcf_stats_reset' during the initialization of the DCF port in order to clear any statistics that may exist from the last use of the DCF and to avoid statistics errors. Fixes: 7564d5509611 ("net/ice: add DCF hardware initialization") Cc: sta...@dpdk.org Signed-off-by: Zhichao Zeng ---