]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17bc53d77d89f2cd1e49baec0d53a6138ef956be
treebc161278adf509010b44a82cd9a5ad3d5e9d8119
parentc6635ca2099ea9625b85b85b453dbc853687769d
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