]> git.baikalelectronics.ru Git - kernel.git/commit
net: lantiq: Use napi_complete_done()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Sep 2020 19:36:28 +0000 (21:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Sep 2020 21:53:15 +0000 (14:53 -0700)
commit762f8f2c03a67e75ba684c63561f8346ed68cc12
tree583290c6d1ed56d760f3413ec76da8b1f6bd3c55
parentae7ac1b7edc3653e2f188bed9e0b7d3c8cb6f2d9
net: lantiq: Use napi_complete_done()

Use napi_complete_done() and activate the interrupts when this function
returns true. This way the generic NAPI code can take care of activating
the interrupts.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_xrx200.c