projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58a185
)
netvsc: call netif_receive_skb
author
stephen hemminger
<
[email protected]
>
Tue, 24 Jan 2017 21:06:15 +0000
(13:06 -0800)
committer
David S. Miller
<
[email protected]
>
Tue, 24 Jan 2017 21:29:02 +0000
(16:29 -0500)
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 <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/hyperv/netvsc_drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/hyperv/netvsc_drv.c
b/drivers/net/hyperv/netvsc_drv.c
index fe0df72532a3c1d8a73afba1b44012532f18dd58..72b0c1f7496ee23a459cba2365ce550cabde4903 100644
(file)
--- 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_r
x
(skb);
+ netif_r
eceive_skb
(skb);
rcu_read_unlock();
return 0;