net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
Subsystems (2)
PATCH 1/1 net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
From: Yang Wei <[email protected]>
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 <[email protected]>
--- drivers/net/ethernet/i825xx/lib82596.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/i825xx/lib82596.c +1 -1
@@ -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 ;
Signature · 1 line
2.7.4
From: Yang Wei <[email protected]>
Date: Thu, 14 Feb 2019 22:45:38 +0800
Quoted 6 lines
From: Yang Wei <[email protected]>
dev_consume_skb_irq()should be called ini596_interrupt()when skb xmit done. It makes dropprofiles(dropwatch, perf)more friendly.Signed-off-by Yang Wei <[email protected]>
Applied.