public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Javier Domingo <javierdo1@gmail.com>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: Softirqs without captured packets
Date: Sat, 09 Feb 2013 17:16:02 -0800	[thread overview]
Message-ID: <1360458962.6696.38.camel@edumazet-glaptop> (raw)
In-Reply-To: <CALZVapn-oF2L1BB855x26XGjzP6wYyT93jcJB0X3TcmFE8AxYA@mail.gmail.com>

On Sat, 2013-02-09 at 21:27 +0100, Javier Domingo wrote:
> Can you tell me something about the traces I introduced?
> 
> I tried to insert the trace the cleanest way possible. I patched
> dev.c, in the measurement places and tried to make the module the more
> independent I could. It makes the measure with sched_clock() and in
> each round, it sums up the work done.
> 
> I have supposed that that softirq is just for capturing packets, so
> that is why I asked my first question,

Seems pretty easy to understand to me.

A network device receives and transmits packets.

n->poll() call done in net_rx_action() can both :

- Receive packets
- Perform the TX completion for most devices (some of them still
  use a hard IRQ driven TX completion path)

The return value is only about receive part.

(The TX completion is not limited by a per round quota)

  reply	other threads:[~2013-02-10  1:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 19:41 Softirqs without captured packets Javier Domingo
2013-02-08 19:54 ` Javier Domingo
2013-02-08 19:57   ` David Miller
2013-02-08 20:02     ` Javier Domingo
2013-02-08 20:15       ` David Miller
2013-02-08 21:22         ` Javier Domingo
2013-02-09 20:27           ` Javier Domingo
2013-02-10  1:16             ` Eric Dumazet [this message]
2013-02-10  3:02               ` Javier Domingo
2013-02-10  8:16                 ` Eric Dumazet
     [not found]                   ` <CALZVapm1evE6rOgNkJapu9VboA6OojKGJ-UhRhZ26J0A+k4nmw@mail.gmail.com>
2013-02-22  9:32                     ` Javier Domingo
2013-02-22 14:11                       ` Eric Dumazet
2013-03-06 17:20                         ` Javier Domingo
2013-03-06 19:40                           ` David Miller

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=1360458962.6696.38.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=javierdo1@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