From: Jeff Garzik <jeff@garzik.org>
To: Breno Leitao <leitao@linux.vnet.ibm.com>
Cc: netdev@vger.kernel.org, ram.vepa@neterion.com,
santosh.rastapur@neterion.com, sivakumar.subramani@neterion.com,
sreenivasa.honnur@neterion.com, Jay Vosburgh <fubar@us.ibm.com>
Subject: Re: [Patch 1/1 net-next] S2io: fix statistics flush after a MTU change
Date: Tue, 29 Jul 2008 18:25:07 -0400 [thread overview]
Message-ID: <488F98C3.8060701@garzik.org> (raw)
In-Reply-To: <48863498.3020902@linux.vnet.ibm.com>
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@linux.vnet.ibm.com>
> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
applied
prev parent reply other threads:[~2008-07-29 22:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 19:27 [Patch 1/1 net-next] S2io: fix statistics flush after a MTU change Breno Leitao
2008-07-24 17:45 ` Ramkrishna Vepa
2008-07-29 22:25 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=488F98C3.8060701@garzik.org \
--to=jeff@garzik.org \
--cc=fubar@us.ibm.com \
--cc=leitao@linux.vnet.ibm.com \
--cc=netdev@vger.kernel.org \
--cc=ram.vepa@neterion.com \
--cc=santosh.rastapur@neterion.com \
--cc=sivakumar.subramani@neterion.com \
--cc=sreenivasa.honnur@neterion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).