|
From: | Jonathan Larmour |
Subject: | [lwip-devel] [bug #11400] ARP multi-packet-queue modifies TCP unsent/unacked segment packet pbuf chain into packet queue |
Date: | Thu, 22 Mar 2007 04:00:23 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060513 Fedora/1.0.8-1.1.fc3.1.legacy Firefox/1.0.8 |
Follow-up Comment #12, bug #11400 (project lwip): My opinion is that I don't think this approach is a good idea. It could mean a lot of potentially large pbufs having to be allocated from the PBUF_RAM pool, with very little determinism to their sizes. Determinism is why lwip has memp's, which intentionally limit resources. But I'm not advocating allocating these copied pbufs from a distinct memory pool. Instead it seems much more efficient to create a small structure which points to each pbuf being queued. Thus you only need to allocate space for this structure (which can come from a memp pool) and can still leave the original pbufs untouched. This is the same approach advocated by Leon in the very first post in this bug. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?11400> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |