Skip to content

Commit ca89932

Browse files
albinyangdavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ff44a83 commit ca89932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/i825xx/82596.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ static irqreturn_t i596_interrupt(int irq, void *dev_id)
13101310
dev->stats.tx_aborted_errors++;
13111311
}
13121312

1313-
dev_kfree_skb_irq(skb);
1313+
dev_consume_skb_irq(skb);
13141314

13151315
tx_cmd->cmd.command = 0; /* Mark free */
13161316
break;

0 commit comments

Comments
 (0)