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:
11dc980
)
net: wan: z85230: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Mon, 25 Feb 2019 15:06:24 +0000
(23:06 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Feb 2019 22:36:15 +0000
(14:36 -0800)
dev_consume_skb_irq() should be called in z8530_tx_done() 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/wan/z85230.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/z85230.c
b/drivers/net/wan/z85230.c
index deea41e96f0183e7d6d1b10ee029e1aa0f50c523..0e56ab0aed9a9d209f21d4e57ff83a7de3e9b53d 100644
(file)
--- a/
drivers/net/wan/z85230.c
+++ b/
drivers/net/wan/z85230.c
@@
-1536,7
+1536,7
@@
static void z8530_tx_done(struct z8530_channel *c)
z8530_tx_begin(c);
c->netdevice->stats.tx_packets++;
c->netdevice->stats.tx_bytes += skb->len;
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
}
/**