lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #6735] Provide new pbuf type: PBUF_RAM_NOCOPY


From: Jared Grubb
Subject: [lwip-devel] [task #6735] Provide new pbuf type: PBUF_RAM_NOCOPY
Date: Fri, 10 Aug 2007 20:53:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #26, task #6735 (project lwip):

> I think that's wasteful, and this is part of the reason for the existence
of PBUF_REF - only copy it if you need to. Otherwise you may as well simplify
the API and say users must always copy such data into a PBUF_RAM. 

Yes, that's true and would be wasteful.

> I think in some cases (especially for UDP) you can expect some packets to
be sent directly and they never need to be copied. 

That's not true if the driver is non-blocking; control may have returned to
the application before the packet is even sent.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6735>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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