|
From: | address@hidden |
Subject: | Re: [lwip-users] low level output question |
Date: | Fri, 08 May 2009 19:01:53 +0200 |
User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
John Kennedy wrote:
In the Xilinx lwip 1.3.0 port the low_level_output function basically copies the entire pbuf to the Ethernetlite MAC using the pbuf len (or total length if the pbuf is chained). This seems inefficient, since the actual packet length could be much smaller than the pbuf length. It seems like it would be more efficient to just to copy the actual packet to the MAC rather than the entire pbuf. How should this be done?
Actual packet length == p->tot_len
[Prev in Thread] | Current Thread | [Next in Thread] |