On Friday 04 February 2005 5:39 am, Thomas Brinker wrote:

> > Three problems raised with what you sent:  
> > (a) #ifdef ARM is clearly  wrong
> I just kicked it out

Thanks.

> > ; and as Sergey said, (b) the right value is NET_IP_ALIGN as defined 
> > in <linux/skbuff.h>, 
> Yeah thats much better
> > plus (c) you need to increase the size of the 
> > buffer specified in alloc_skb() to account for this wasted space.
> Of course.

OK.  Now, as I'm lookig at this issue it seemed like there _ought_ to
be an issue with RNDIS ... except that I see the RNDIS code actually
copies every packet to get rid of its special headers.  And it doesn't
even use memcpy to do it!!  Bleech.  After all that work to get rid of
all memcpy calls, and then that one's in the critical path.

Oh well; at least the TX path, and RX from non-Windows hosts, is quick!

- Dave

 


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to