net: Move napi polling code out of net_rx_action
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 20 Dec 2014 20:16:21 +0000 (07:16 +1100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Dec 2014 04:20:21 +0000 (23:20 -0500)
commit726ce70e9e4050409243f3a1d735dc86bc6e6e57
treecddb92dda234adbc154b4d6cd308f244ce1c2070
parent0d1644919578db525b9a7b6c8197ce02adbfce26
net: Move napi polling code out of net_rx_action

This patch creates a new function napi_poll and moves the napi
polling code from net_rx_action into it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c