OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff44a83
)
net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<albin_yang@163.com>
Mon, 28 Jan 2019 14:42:25 +0000
(22:42 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2019 18:53:28 +0000
(10:53 -0800)
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 <albin_yang@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/i825xx/82596.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/i825xx/82596.c
b/drivers/net/ethernet/i825xx/82596.c
index
d719668
..
9292975
100644
(file)
--- a/
drivers/net/ethernet/i825xx/82596.c
+++ b/
drivers/net/ethernet/i825xx/82596.c
@@
-1310,7
+1310,7
@@
static irqreturn_t i596_interrupt(int irq, void *dev_id)
dev->stats.tx_aborted_errors++;
}
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
tx_cmd->cmd.command = 0; /* Mark free */
break;