r8152: replace tasklet with NAPI
authorhayeswang <hayeswang@realtek.com>
Mon, 12 Jan 2015 04:06:23 +0000 (12:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Jan 2015 20:06:25 +0000 (15:06 -0500)
commitd823ab68fbb0fa504a2490bd499ac921bdf497d8
tree75a2c7656396fbb943bf1a7e1e048e3f0aa51a9b
parent237de6efc158de800cf1fd65543d40af3796eb74
r8152: replace tasklet with NAPI

Replace tasklet with NAPI.

Add rx_queue to queue the remaining rx packets if the number of the
rx packets is more than the request from poll().

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c