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:
62d1a31
)
net: dscc4: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Tue, 5 Feb 2019 16:07:03 +0000
(
00:07
+0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Feb 2019 01:38:15 +0000
(17:38 -0800)
dev_consume_skb_irq() should be called in dscc4_tx_irq() 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/dscc4.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/dscc4.c
b/drivers/net/wan/dscc4.c
index c0b0f525c87ca81c52ba66e0563288c558a7605c..27decf8ae840b95e3b8568a7d4f94cb8805e9093 100644
(file)
--- a/
drivers/net/wan/dscc4.c
+++ b/
drivers/net/wan/dscc4.c
@@
-1575,7
+1575,7
@@
try:
dev->stats.tx_packets++;
dev->stats.tx_bytes += skb->len;
}
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
dpriv->tx_skbuff[cur] = NULL;
++dpriv->tx_dirty;
} else {