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-next>] [day] [month] [year] [list]
Message-ID: <a967d7d00805211835q241f8edai6253659330b8e6cf@mail.gmail.com>
Date:	Wed, 21 May 2008 18:35:18 -0700
From:	"Keyur Chudgar" <kchudgar.linux@...il.com>
To:	netdev@...r.kernel.org
Subject: Single packet receiving in multiple ring buffers

Hi,

I have a question regarding packets received in multiple ring buffers
from hw interface,
if the packet size is larger than the ring buffer size.

The way generally I saw this is done is,
1. Initially allocate skb with MTU size and configure ring buffer
2. If packet comes in multiple ring buffers, they copy these buffers
and make a new single
skb out of it
3. Send a single skb to netif_rx

The point 2 above can be done either using memcpy or DMA. But in any
case, we need a copy.

Does anybody know, if there is a way, we can avoid the copy operation
while a single packet
received in multiple ring buffers?

Thanks,
- Keyur
--
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