• W
    usb: gadget: u_ether: move hardware transmit to RX NAPI · 716fb91d
    Weinn Jheng 提交于
    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: NWeinn 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: NFelipe Balbi <balbi@ti.com>
    716fb91d
u_ether.c 29.3 KB