[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <488F98C3.8060701@garzik.org>
Date: Tue, 29 Jul 2008 18:25:07 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Breno Leitao <leitao@...ux.vnet.ibm.com>
CC: netdev@...r.kernel.org, ram.vepa@...erion.com,
santosh.rastapur@...erion.com, sivakumar.subramani@...erion.com,
sreenivasa.honnur@...erion.com, Jay Vosburgh <fubar@...ibm.com>
Subject: Re: [Patch 1/1 net-next] S2io: fix statistics flush after a MTU change
Breno Leitao wrote:
> On s2io driver, when you change the interface MTU, it invokes a card
> reset, which flush some statistics. This patch solves this problem, and
> also set the net_device->stats as the default statistics structure,
> instead of s2io_nic->stats.
>
> To do that, s2io_nic->stats turned into a staging area, where is saved
> statistics of the last hardware statistics query. So, the difference
> between the current hardware statistics and s2io_nic->stats, is the
> value that should be summed up, in order to get the correct statistics
> value, even after a reset.
>
> Signed-off-by: Breno Leitao <leitao@...ux.vnet.ibm.com>
> Signed-off-by: Jay Vosburgh <fubar@...ibm.com>
applied
--
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