From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [RFC] gianfar: Fix stats support Date: Thu, 10 Dec 2009 09:25:21 +0100 Message-ID: <4B20B071.20004@gmail.com> References: <1260423764-21210-1-git-send-email-Sandeep.Kumar@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, avorontsov@ru.mvista.com, davem@davemloft.net To: Sandeep Gopalpet Return-path: Received: from gw1.cosmosbay.com ([212.99.114.194]:45775 "EHLO gw1.cosmosbay.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760779AbZLJIZ3 (ORCPT ); Thu, 10 Dec 2009 03:25:29 -0500 In-Reply-To: <1260423764-21210-1-git-send-email-Sandeep.Kumar@freescale.com> Sender: netdev-owner@vger.kernel.org List-ID: Le 10/12/2009 06:42, Sandeep Gopalpet a =E9crit : > This patch updates the per rx/tx queue stats. > To update the per rx queue stats a new structure has been > introduced rx_q_stats. > The per tx queue stats are updated via the netdev_queue > structure itself. >=20 > Note that we update only the tx_packtes, tx_bytes, rx_packets, > rx_bytes and rx_dropped stats on a per queue basis. >=20 > Signed-off-by: Sandeep Gopalpet > --- Acked-by: Eric Dumazet