Kieran Mansley wrote:
> I haven't yet decided, or given enough thought to, what features
> other than IPv6 should be included in the 1.5.0 release.

Support for zero-copy DMA drivers (RX and TX) with netconn API  :-)

On RX, I used
CORE_LOCKING=1
CORE_LOCKING_INPUT=1
PBUF_REF custom pbuf with custom free function

Simon wrote:
> For the RX side, using a *custom* PBUF_REF would be the best solution. 
> That's a pbuf that has a 'freed' callback and references external 
> memory. However, that doesn't work, yet (though I planned to add support 
> for it as I can see it's one possible solution to implement DMA MAC 
> drivers). The problem here is that pbuf_header() can't grow such pbufs 
> (as it doesn't know the original length). This would have to be fixed by 
> changing the struct pbuf (if only for PBUF_REF pbufs).

I haven't found how to make TX work without copying the frame before
sending, yet.

-- 
Regards.

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to