r8152: divide the tx and rx bottom functions
authorHayes Wang <hayeswang@realtek.com>
Mon, 19 Aug 2019 06:40:36 +0000 (14:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Aug 2019 19:18:52 +0000 (12:18 -0700)
commitd2187f8e445403b7aeb08e64c1528761154e9ab3
treebc161278adf509010b44a82cd9a5ad3d5e9d8119
parent932630fa902878f4c8c50d0b1260eeb9de16b0a4
r8152: divide the tx and rx bottom functions

Move the tx bottom function from NAPI to a new tasklet. Then, for
multi-cores, the bottom functions of tx and rx may be run at same
time with different cores. This is used to improve performance.

On x86, Tx/Rx 943/943 Mbits/sec -> 945/944.
For arm platform, Tx/Rx: 917/917 Mbits/sec -> 933/933.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c