lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1360458962.6696.38.camel@edumazet-glaptop>
Date:	Sat, 09 Feb 2013 17:16:02 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Javier Domingo <javierdo1@...il.com>
Cc:	David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: Softirqs without captured packets

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)



--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ