pcnet32: use napi_complete_done()
authorEric Dumazet <edumazet@google.com>
Sat, 4 Feb 2017 23:24:55 +0000 (15:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Feb 2017 21:11:57 +0000 (16:11 -0500)
commit5b2ec6f2be512485cb9fde7eb1119279af524c28
tree9e3aabac7395f69edc4c05f5de9400fe336cd55f
parentc46e9907d4dcc2062f742d4e37e41a81a162fe7b
pcnet32: 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/amd/pcnet32.c