netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Single packet receiving in multiple ring buffers
@ 2008-05-22  1:35 Keyur Chudgar
  2008-05-22  6:40 ` Evgeniy Polyakov
  0 siblings, 1 reply; 14+ messages in thread
From: Keyur Chudgar @ 2008-05-22  1:35 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-05-29 16:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-22  1:35 Single packet receiving in multiple ring buffers Keyur Chudgar
2008-05-22  6:40 ` Evgeniy Polyakov
     [not found]   ` <31256957387BB54C8B9AFE88AA5C0564044A1834@SDCEXCHANGE01.ad.amcc.com>
2008-05-22 18:14     ` Evgeniy Polyakov
     [not found]       ` <31256957387BB54C8B9AFE88AA5C0564044A1846@SDCEXCHANGE01.ad.amcc.com>
2008-05-22 18:49         ` Evgeniy Polyakov
2008-05-22 18:57           ` David Miller
     [not found]             ` <31256957387BB54C8B9AFE88AA5C0564044A1869@SDCEXCHANGE01.ad.amcc.com>
2008-05-23  7:09               ` David Miller
2008-05-23 12:00             ` Evgeniy Polyakov
     [not found]               ` <31256957387BB54C8B9AFE88AA5C0564044A1951@SDCEXCHANGE01.ad.amcc.com>
2008-05-25 13:00                 ` Evgeniy Polyakov
2008-05-25 13:04                   ` David Miller
2008-05-25 13:31                     ` Evgeniy Polyakov
     [not found]                   ` <31256957387BB54C8B9AFE88AA5C0564044A1B23@SDCEXCHANGE01.ad.amcc.com>
2008-05-27 17:41                     ` Evgeniy Polyakov
     [not found]                   ` <31256957387BB54C8B9AFE88AA5C0564044A1DC1@SDCEXCHANGE01.ad.amcc.com>
2008-05-29 14:45                     ` Evgeniy Polyakov
     [not found]                       ` <31256957387BB54C8B9AFE88AA5C0564044A1DD0@SDCEXCHANGE01.ad.amcc.com>
2008-05-29 15:35                         ` Evgeniy Polyakov
     [not found]                           ` <31256957387BB54C8B9AFE88AA5C0564044A1DF1@SDCEXCHANGE01.ad.amcc.com>
2008-05-29 16:41                             ` Evgeniy Polyakov

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