> 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... ;)

This is what i was thinking about.  I will change the original patch
in order to simplify freeing of the skbs on unplug.  I'll send the
resulting patch for review.

> 
> 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!

Performance wise this won't be a big win (speaking about these devices),
but this way it's a lot cleaner design and it is definately an
improvement. ;-)


                Petko


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

Reply via email to