lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Best method to allocate space for external packets


From: Kieran Mansley
Subject: Re: [lwip-devel] Best method to allocate space for external packets
Date: Fri, 17 Aug 2007 08:59:22 +0100

On Fri, 2007-08-17 at 00:34 +0100, Jonathan Larmour wrote:

> The simplification here is that _all_ pool pbufs would then be allocated 
> like that. This is fine most of the time but could be more complicated if 
> there are multiple devices, not all of which need this system. Should we 
> be worried about that? I don't know but from my thinking about it, it 
> would be a very hard problem to solve without breaking abstractions and/or 
> lots of APIs. Maybe we should leave it to the port and driver.

I think the simplification is fine and fits well with lwIP's design
goals.  The approach you suggest would be easily extended by the porter,
and is simple enough to not add overhead in the other cases.  I'd have
no problem with this.

Kieran





reply via email to

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