[dpdk-dev] [dpdk-stable] [PATCH] net/sfc: request MAC stats upload immediately on port start

Ferruh Yigit ferruh.yigit at intel.com
Tue Jul 18 10:23:51 CEST 2017


On 7/8/2017 4:16 PM, Andrew Rybchenko wrote:
> From: Ivan Malov <ivan.malov at oktetlabs.ru>
> 
> If MAC stats refresh is arranged to be done by periodic DMA,
> the first DMA transaction is unlikely to occur right on the
> port start; if the user tries to get stats right after port
> start and before the transaction occurs, bogus figures will
> be collected; a one-off stats upload on port start is a fix
> 
> Fixes: 1caab2f1e684 ("net/sfc: add basic statistics")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ivan Malov <ivan.malov at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>

Applied to dpdk-next-net/master, thanks.

(Another column aligned commit log from Ivan :), thanks!)


More information about the dev mailing list