[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120716.224500.294857675537016703.davem@davemloft.net>
Date: Mon, 16 Jul 2012 22:45:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: narendra_k@...l.com, netdev@...r.kernel.org, gospo@...hat.com,
sassmann@...hat.com
Subject: Re: [net] ixgbevf: Prevent RX/TX statistics getting reset to zero
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Mon, 16 Jul 2012 18:24:41 -0700
> From: Narendra K <narendra_k@...l.com>
>
> The commit 4197aa7bb81877ebb06e4f2cc1b5fea2da23a7bd implements 64 bit
> per ring statistics. But the driver resets the 'total_bytes' and
> 'total_packets' from RX and TX rings in the RX and TX interrupt
> handlers to zero. This results in statistics being lost and user space
> reporting RX and TX statistics as zero. This patch addresses the
> issue by preventing the resetting of RX and TX ring statistics to
> zero.
>
> Signed-off-by: Narendra K <narendra_k@...l.com>
> Tested-by: Sibai Li <sibai.li@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists