]> git.itanic.dy.fi Git - linux-stable/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Nov 2016 09:48:35 +0000 (10:48 +0100)
commitf1de32232db3e61c9b7d7ab2208b9d58503ee568
tree06b7a6a60541e8b55ed90613ed471c263ad50dee
parent0ab4186bf238e1c0eccc8d3941119839068423b4
usb: gadget: u_ether: remove interrupt throttling

commit fd9afd3cbe404998d732be6cc798f749597c5114 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_ether.c