lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #29361] ip_frag has problems with zero-copy DMA MACs


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #29361] ip_frag has problems with zero-copy DMA MACs
Date: Fri, 30 Apr 2010 19:13:45 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Update of bug #29361 (project lwip):

                  Status:                    None => In Progress            
             Assigned to:                    None => goldsimon              
         Planned Release:                         => 1.4.0                  

    _______________________________________________________

Follow-up Comment #2:

I think this has to be solved for 1.4.0 since it might involve API changes.

I'd fix this by adding flag to pbufs which indicates that there's a
function-pointer for freeing right after the pbuf. We can then use a PBUF_ROM
for sending, allocated in a special pool the items of which are big enough to
store a PBUF_ROM, a function pointer and a pointer to the original pbuf. Then,
every fragment can increase the original pbuf's ref-counter when allocated and
decrease it when sent.

I'll prepare a patch for that.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?29361>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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