usb: gadget: u_ether: remove interrupt throttling
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 1 Nov 2016 11:20:22 +0000 (13:20 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 1 Nov 2016 13:48:25 +0000 (15:48 +0200)
commitfd9afd3cbe404998d732be6cc798f749597c5114
tree66edd6ec0a38a7ae94b2d2a3c58a62ee9a9650da
parent4accb8a1ee7d82f02bcbacba0e50995c531918d4
usb: gadget: u_ether: remove interrupt throttling

According to Dave Miller "the networking stack has a
hard requirement that all SKBs which are transmitted
must have their completion signalled in a fininte
amount of time. This is because, until the SKB is
freed by the driver, it holds onto socket,
netfilter, and other subsystem resources."

In summary, this means that using TX IRQ throttling
for the networking gadgets is, at least, complex and
we should avoid it for the time being.

Cc: <stable@vger.kernel.org>
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/u_ether.c