diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-02-27 19:26:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-07 02:13:13 +0100 |
commit | 15a863bf7436124e799ba175a801e25f7b57191e (patch) | |
tree | 09d257a56027a36169f7d61fd316d4d27c16efb7 /drivers/net/hyperv/netvsc_drv.c | |
parent | vmbus: introduce in-place packet iterator (diff) | |
download | linux-15a863bf7436124e799ba175a801e25f7b57191e.tar.xz linux-15a863bf7436124e799ba175a801e25f7b57191e.zip |
netvsc: implement NAPI
Use NAPI (softirq), to handle receive packets and send completions.
Previously this was handled by tasklet.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/netvsc_drv.c')
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index bc05c895d958..65d738b783cb 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -690,11 +690,6 @@ int netvsc_recv_callback(struct net_device *net, ++rx_stats->multicast; u64_stats_update_end(&rx_stats->syncp); - /* - * Pass the skb back up. Network stack will deallocate the skb when it - * is done. - * TODO - use NAPI? - */ netif_receive_skb(skb); rcu_read_unlock(); |