8139too: use napi_complete_done()
authorEric Dumazet <edumazet@google.com>
Sat, 4 Feb 2017 23:24:51 +0000 (15:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Feb 2017 21:11:57 +0000 (16:11 -0500)
commit617f01211bafed65b5cb2fa5b671e839c7f2af86
treefe5a66293642fd8c2a42c90e5a3aeb34826a06bf
parent3976001c9db0354a0bcbd77e324fdf1bc04e110f
8139too: use napi_complete_done()

Use napi_complete_done() instead of __napi_complete() to :

1) Get support of gro_flush_timeout if opt-in
2) Not rearm interrupts for busy-polling users.
3) use standard NAPI API.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/8139too.c