]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: u_ether: move hardware transmit to RX NAPI
authorWeinn Jheng <clanlab.proj@gmail.com>
Thu, 27 Feb 2014 09:49:00 +0000 (17:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 7 Mar 2014 16:03:24 +0000 (10:03 -0600)
commita3918f66349de25ec1f82f6d5d27ddd9443a0a49
tree75232c404790fbeb8816f244daeb4acf78d5cafa
parent59acbfd80525791c753656cead823de4c0f7b97c
usb: gadget: u_ether: move hardware transmit to RX NAPI

In order to reduce the interrupt times in the embedded system,
a receiving workqueue is introduced.
This modification also enhanced the overall throughput as the
benefits of reducing interrupt occurrence.

This work was derived from previous work:
u_ether: move hardware transmit to RX workqueue.
Which should be base on codeaurora's work.

However, the benchmark on my platform shows the throughput
with workqueue is slightly better than NAPI.

Signed-off-by: Weinn Jheng <clanlab.proj@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/u_ether.c