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>
This commit is contained in:
Родитель
fa8ba2cba7
Коммит
baff7b09ff
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче