]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
net: i825xx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <albin_yang@163.com>
Mon, 28 Jan 2019 14:42:25 +0000 (22:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 18:53:28 +0000 (10:53 -0800)
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>
drivers/net/ethernet/i825xx/82596.c

index d719668a6684aa5f9a8b93b8a991a08b28cb004a..92929750f83250c53e8815aaec3a89ede1c3fdb0 100644 (file)
@@ -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;