[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #49914] lwip_sendmsg uses PBUF_REF pbufs
From: |
Dirk Ziegelmeier |
Subject: |
[lwip-devel] [bug #49914] lwip_sendmsg uses PBUF_REF pbufs |
Date: |
Sat, 7 Jan 2017 19:52:36 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #11, bug #49914 (project lwip):
Even DMA-enabled netifs have more problems. I wrote a driver for the Synopsys
Designware MAC (in Linux its called "stmmac"). It is capable of scatter-gather
DMA, but has alignment requirements for the buffer (I guess resulting from
burst-access boundaries). So even for this MAC, I was unable to use zero-copy
TX because the RAM PBUFs did not satisfy the alignment requirements.
To make this work, there most flexible way would be to allocate TX PBUFs via a
callback from the application...
Zero-copy TX can be quite challenging.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?49914>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #49914] lwip_sendmsg uses PBUF_REF pbufs,
Dirk Ziegelmeier <=