diff options
author | Yang Wei <albin_yang@163.com> | 2019-01-28 22:42:25 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-28 10:53:28 -0800 |
commit | ca899324305d953c19abb583b96f0dd81274b0b2 (patch) | |
tree | 4cc46f1ff55d6988dcbcbe9768a4e4d05c21f760 /drivers | |
parent | ff44a8373c882221c1ff30b87c42fba4f6938119 (diff) | |
download | linux-ca899324305d953c19abb583b96f0dd81274b0b2.tar.bz2 |
net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/i825xx/82596.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/82596.c b/drivers/net/ethernet/i825xx/82596.c index d719668a6684..92929750f832 100644 --- 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_kfree_skb_irq(skb); + dev_consume_skb_irq(skb); tx_cmd->cmd.command = 0; /* Mark free */ break; |