diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-14 15:45:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 18:43:14 +0100 |
commit | baff7b09ffa9055d54a366f26b02269ea579b268 (patch) | |
tree | 3cc9941e1965fa9f36e8c87355f972b3e034b89f /drivers/net/ethernet | |
parent | lib: objagg: fix handling of object with 0 users when assembling hints (diff) | |
download | linux-baff7b09ffa9055d54a366f26b02269ea579b268.tar.xz linux-baff7b09ffa9055d54a366f26b02269ea579b268.zip |
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 <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/i825xx/lib82596.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/i825xx/lib82596.c b/drivers/net/ethernet/i825xx/lib82596.c index 2f7ae118217f..1274ad24d6af 100644 --- 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_kfree_skb_irq(skb); + dev_consume_skb_irq(skb); tx_cmd->cmd.command = 0; /* Mark free */ break; |