]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usb "ether" net gadget
authorDavid Brownell <david-b@pacbell.net>
Tue, 23 Sep 2003 10:18:03 +0000 (03:18 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 23 Sep 2003 10:18:03 +0000 (03:18 -0700)
commitb680dcc3a557af3f394faf810b48c625f85a6a96
tree129d2f9201d11cc1523455fcd1cd144c2c148de5
parent4cc26659c057469f48c280a49554c6ce29190eac
[PATCH] USB: usb "ether" net gadget

Minor updates:

  - Reduce memory utilization in two ways:

     * Dynamically, by pre-allocating all the usb_request objects
       that will be used; if the pre-allocated ones are in use,
       then tx will throttle down.  This behaves better under
       heavy load.

     * Statically, by pre-allocating fewer such requests in the
       typical "no DMA queueing" case ... the best we can do is
       make sure that when the next completion IRQ fires, the
       controller already has a transfer ready.  Having queues
       deeper than two elements only helps if the CPU doesn't
       need to start each transfer by hand (as with net2280).

  - Diagnostics look more like other network driver diagnostics;
    they use the network interface name.
drivers/usb/gadget/ether.c