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:
da9bd11
)
r8152: replace netif_rx with netif_receive_skb
author
hayeswang
<hayeswang@realtek.com>
Tue, 18 Feb 2014 13:49:09 +0000
(21:49 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Feb 2014 21:40:02 +0000
(16:40 -0500)
Replace netif_rx with netif_receive_skb to avoid disabling irq frequently
for increasing the efficiency.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/r8152.c
b/drivers/net/usb/r8152.c
index 3ff11ed6ee516bbd6899a202936929a78c09449f..ff02d5d8ec4143945bbe0a3d54ec1bc4e4ad773b 100644
(file)
--- a/
drivers/net/usb/r8152.c
+++ b/
drivers/net/usb/r8152.c
@@
-1464,7
+1464,7
@@
static void rx_bottom(struct r8152 *tp)
memcpy(skb->data, rx_data, pkt_len);
skb_put(skb, pkt_len);
skb->protocol = eth_type_trans(skb, netdev);
- netif_r
x
(skb);
+ netif_r
eceive_skb
(skb);
stats->rx_packets++;
stats->rx_bytes += pkt_len;