summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/i825xx
diff options
context:
space:
mode:
authorYang Wei <yang.wei9@zte.com.cn>2019-02-14 15:45:38 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-14 18:43:14 +0100
commitbaff7b09ffa9055d54a366f26b02269ea579b268 (patch)
tree3cc9941e1965fa9f36e8c87355f972b3e034b89f /drivers/net/ethernet/i825xx
parentlib: objagg: fix handling of object with 0 users when assembling hints (diff)
downloadlinux-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/i825xx')
-rw-r--r--drivers/net/ethernet/i825xx/lib82596.c2
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;