From: Junchang Wang <junchangwang@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH v2] netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer
Date: Thu, 3 Jun 2010 18:54:40 +0800 [thread overview]
Message-ID: <AANLkTik-1cjIr6urrQg5RuyAVa_pf_GJS3UJ3JcfvQMb@mail.gmail.com> (raw)
In-Reply-To: <1275556749.2456.24.camel@edumazet-laptop>
>
> As I said, core network takes care of three counters only, because it
> was 'free', as they share a cache line with a spinlock we must hold when
> calling xmit function.
>
> In receive path, we dont dirty a cache line in core network, so updating
> counters would add a cost. (modern NICs handle stats in firmware)
>
That's really resolve my doubts about lack of RX stats in kernel stack.
Thanks Eric.
--
--Junchang
next prev parent reply other threads:[~2010-06-03 10:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-03 3:48 [PATCH v2] netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer sonic zhang
2010-06-03 4:05 ` Eric Dumazet
2010-06-03 8:57 ` Junchang Wang
2010-06-03 9:19 ` Eric Dumazet
2010-06-03 10:54 ` Junchang Wang [this message]
2010-06-04 3:29 ` Sonic Zhang
2010-06-04 4:05 ` Eric Dumazet
2010-06-04 4:44 ` Sonic Zhang
2010-06-07 9:58 ` Eric Dumazet
2010-06-07 10:26 ` Sonic Zhang
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=AANLkTik-1cjIr6urrQg5RuyAVa_pf_GJS3UJ3JcfvQMb@mail.gmail.com \
--to=junchangwang@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/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).