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:
e501070
)
net: 8139cp: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Tue, 29 Jan 2019 14:40:51 +0000
(22:40 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Jan 2019 18:03:50 +0000
(10:03 -0800)
dev_consume_skb_irq() should be called in cp_tx() 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/realtek/8139cp.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/realtek/8139cp.c
b/drivers/net/ethernet/realtek/8139cp.c
index 44f6e4873aadd16b35ae34c3561393fc010a698b..4f910c4f67b0e223ede96dffe2391e918cc42b62 100644
(file)
--- a/
drivers/net/ethernet/realtek/8139cp.c
+++ b/
drivers/net/ethernet/realtek/8139cp.c
@@
-691,7
+691,7
@@
static void cp_tx (struct cp_private *cp)
}
bytes_compl += skb->len;
pkts_compl++;
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
}
cp->tx_skb[tx_tail] = NULL;