summaryrefslogtreecommitdiff
path: root/drivers/net/macvtap.c
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-04-22 22:21:06 -0700
committerDavid S. Miller <davem@davemloft.net>2021-04-23 13:31:58 -0700
commitdb2c7b353db3b3f71b55f9ff4627d8a786446fbe (patch)
tree18bfdaa7267e3e0016fa12737121557e22b41e02 /drivers/net/macvtap.c
parent16769a8923fad5a5377253bcd76b0e0d64976c73 (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/macvtap.c')
0 files changed, 0 insertions, 0 deletions