From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH] net/sfc: request MAC stats upload immediately on port start Date: Tue, 18 Jul 2017 09:23:51 +0100 Message-ID: References: <1499527015-31958-1-git-send-email-arybchenko@solarflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Ivan Malov , stable@dpdk.org To: Andrew Rybchenko , dev@dpdk.org Return-path: In-Reply-To: <1499527015-31958-1-git-send-email-arybchenko@solarflare.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 7/8/2017 4:16 PM, Andrew Rybchenko wrote: > From: Ivan Malov > > 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@dpdk.org > > Signed-off-by: Ivan Malov > Signed-off-by: Andrew Rybchenko Applied to dpdk-next-net/master, thanks. (Another column aligned commit log from Ivan :), thanks!)