Re: [dpdk-dev] [PATCH v2] net/failsafe: improve stats accuracy

2017-10-19 Thread Gaƫtan Rivet
Hello Matan, Adding the time delta should have been done in a separate commit. Can you please divide this patch in two? The first one will only attempt the ultimate stat read, the second one would add the delay warning. Small nit below for your v3. On Thu, Oct 19, 2017 at 02:31:54PM +, Mata

[dpdk-dev] [PATCH v2] net/failsafe: improve stats accuracy

2017-10-19 Thread Matan Azrad
The stats_get API was changed to signal a potential failure to read stats. Furthermore, some PMDs are able to provide statistics even after a removal event occurred. Considering this, the fail-safe can try to access the latest statistics of a PMD to improve statistics accuracy. Attempt an ultimat