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:
380ab7e
)
net: nuvoton: w90p910_ether: replace dev_kfree_skb_irq by dev_consume_skb_irq for...
author
Yang Wei
<yang.wei9@zte.com.cn>
Wed, 13 Feb 2019 15:21:02 +0000
(23:21 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Feb 2019 16:56:36 +0000
(11:56 -0500)
dev_consume_skb_irq() should be called in w90p910_ether_start_xmit()
when skb xmit done. It makes drop profiles(dropwatch, perf) more
friendly.
Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nuvoton/w90p910_ether.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/nuvoton/w90p910_ether.c
b/drivers/net/ethernet/nuvoton/w90p910_ether.c
index c662c6f5bee340f4a0b73e09ae36c7eb4bc878d3..67bf02b0763ab6f52a2df4fe95ecc2608ca66770 100644
(file)
--- a/
drivers/net/ethernet/nuvoton/w90p910_ether.c
+++ b/
drivers/net/ethernet/nuvoton/w90p910_ether.c
@@
-630,7
+630,7
@@
static int w90p910_ether_start_xmit(struct sk_buff *skb, struct net_device *dev)
if (!(w90p910_send_frame(dev, skb->data, skb->len))) {
ether->skb = skb;
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
return 0;
}
return -EAGAIN;