Re: [dpdk-dev] [PATCH] net/bnxt: fix to clear cached value of stats in clear stats

2021-07-15 Thread Ajit Khaparde
On Tue, Jul 13, 2021 at 6:13 AM Kalesh A P < kalesh-anakkur.pura...@broadcom.com> wrote: > From: Kalesh AP > > As part of the workaround put in the commit "219842b9990c", > driver caches the last read stats values from the hardware. > But this is not cleared during the clear stats operation. This

[dpdk-dev] [PATCH] net/bnxt: fix to clear cached value of stats in clear stats

2021-07-13 Thread Kalesh A P
From: Kalesh AP As part of the workaround put in the commit "219842b9990c", driver caches the last read stats values from the hardware. But this is not cleared during the clear stats operation. This results in showing up stale stats values while reading the stats after the clear operation. Fixes