diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-04-22 22:21:06 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-23 13:31:58 -0700 |
commit | db2c7b353db3b3f71b55f9ff4627d8a786446fbe (patch) | |
tree | 18bfdaa7267e3e0016fa12737121557e22b41e02 /drivers/net/xen-netback | |
parent | 16769a8923fad5a5377253bcd76b0e0d64976c73 (diff) |
net: ethernet: mtk_eth_soc: rework NAPI callbacks
Use napi_complete_done to communicate total TX and RX work done to NAPI.
Count total RX work up instead of remaining work down for clarity.
Remove unneeded local variables for clarity. Use do {} while instead of
goto for clarity.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions