> >         The USB ethernet driver in linux-2.5.8-pre1/drivers/usb/rtl8150.c 
> > unnecessarily copies all transmitted and received packets.  The following
> > patch eliminates copying of both transmitted and received packets.
> > I am running the resulting driver now and it seems to be fine.
> 
> This is an interestin idea.  I'll give it a try and if it works i'll
> send the result to Greg.

For the record, "usbnet" has done this quite successfully for some
time now.  It was a design goal in fact; at this point only one of the
framing schemes risks extra TX copies, and none do it on the RX
path.  It'd be a Good Thing if all of the drivers/usb/net/*.c code
avoided needless copies... ;)

I expect it'll make more of a difference for highspeed devices than
fullspeed ones, but it's always good to avoid trashing data caches
in your host's CPU!

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to