diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-01-24 13:06:15 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-24 16:29:02 -0500 |
commit | 1130383c174499826a3f01486e574e89be17e2d2 (patch) | |
tree | c18a6517376faaf348fa016bcc2dc1d3a73216ae | |
parent | b58a185801dab4eefccad868c466296795c5bae7 (diff) | |
download | linux-1130383c174499826a3f01486e574e89be17e2d2.tar.bz2 |
netvsc: call netif_receive_skb
To improve performance, netvsc can call network stack directly and
avoid the local backlog queue. This is safe since incoming packets are
handled in softirq context already because the receive function
callback is called from a tasklet.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/hyperv/netvsc_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index fe0df72532a3..72b0c1f7496e 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -695,7 +695,7 @@ int netvsc_recv_callback(struct net_device *net, * is done. * TODO - use NAPI? */ - netif_rx(skb); + netif_receive_skb(skb); rcu_read_unlock(); return 0; |