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] [day] [month] [year] [list]
Date:	Thu, 20 Nov 2014 07:26:28 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	James Yonan <james@...nvpn.net>
Cc:	Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: Question on bulk dequeue support in virtual drivers

On Thu, 2014-11-20 at 05:39 -0700, James Yonan wrote:
> Consider a tunneling driver that receives packets in ndo_start_xmit, 
> encapsulates them in UDP, and forwards via ip_local_out.  The 
> ndo_start_xmit implementation can implement bulking by looking at 
> skb->xmit_more.  But then how to efficiently transmit the resulting 
> bulked list of encapsulated packets via UDP, so that the packets both 
> enter and leave the driver in bulked form?  Is there an ip_local_out 
> alternative for bulked skb lists?

There is no such thing. Quite frankly it wont happen. Consider IP stacks
and netfilter, there is no provision for batches (other than GSO/TSO)

xmit_more addresses a specific hardware problem, it is not an
alternative for batches.

xmit_more will happen in your case in the last step, from qdisc to
ethernet device.



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