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:
e0cbbc6
)
net: broadcom: 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:25:54 +0000
(
00:25
+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 sbdma_tx_process() 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/broadcom/sb1250-mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/broadcom/sb1250-mac.c
b/drivers/net/ethernet/broadcom/sb1250-mac.c
index 5db9f4158e62a24469220170de442d5b5ab15052..134ae2862efab5d91ecfd04ebea9c0d373de2bf4 100644
(file)
--- a/
drivers/net/ethernet/broadcom/sb1250-mac.c
+++ b/
drivers/net/ethernet/broadcom/sb1250-mac.c
@@
-1288,7
+1288,7
@@
static void sbdma_tx_process(struct sbmac_softc *sc, struct sbmacdma *d,
* for transmits, we just free buffers.
*/
- dev_
kfre
e_skb_irq(sb);
+ dev_
consum
e_skb_irq(sb);
/*
* .. and advance to the next buffer.