lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-devel] Packet queues (was Re: [bug#11400]ARP multi-packet-queu


From: Goldschmidt Simon
Subject: RE: [lwip-devel] Packet queues (was Re: [bug#11400]ARP multi-packet-queue modifies TCP ...)
Date: Tue, 10 Apr 2007 16:21:09 +0200

Jonathan,

> >  >>Zero-copy
> >  >>through the sockets API is nigh on impossible for example.
> > 
> > On RX side, it's impossible, but on TX side, why not? As 
> long as the 
> > data is not being queued... (that takes out TCP, of course!)
> 
> On RX it's definitely possible! It does depend on hardware 
> capabilities obviously, but it's easy on many ethernet MACs 
> to DMA directly into the next PBUF_POOL pbuf (which you would 
> have to have preallocated). Sometimes you may have to ensure 

I was referring to Kieran's statement that zero-copy is not possible
with
socket-API on the RX side. As data has to be copied to a user-given
Buffer, I don't think that's possible. And as I said, also on the TX
side
it is not possible because the data has to be unmodified for
retransmission.

However, I think you thought I was referring zero copy in general, so
you're right about that....

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]