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:
fa8ba2c
)
net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Thu, 14 Feb 2019 14:45:38 +0000
(22:45 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Feb 2019 17:43:14 +0000
(12:43 -0500)
dev_consume_skb_irq() should be called in i596_interrupt() 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/i825xx/lib82596.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/i825xx/lib82596.c
b/drivers/net/ethernet/i825xx/lib82596.c
index 2f7ae118217fe881a53614fb436ed119bf56919f..1274ad24d6af19dca829fcb4b241b0bb5fb17e0f 100644
(file)
--- a/
drivers/net/ethernet/i825xx/lib82596.c
+++ b/
drivers/net/ethernet/i825xx/lib82596.c
@@
-1194,7
+1194,7
@@
static irqreturn_t i596_interrupt(int irq, void *dev_id)
dma_unmap_single(dev->dev.parent,
tx_cmd->dma_addr,
skb->len, DMA_TO_DEVICE);
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
tx_cmd->cmd.command = 0; /* Mark free */
break;