net: defxx: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
dev_consume_skb_irq() should be called in dfx_xmt_done() when skb xmit done. It makes drop profiles(dropwatch, perf) more friendly. Signed-off-by: Yang Wei <yang.wei9@zte.com.cn> Reviewed-by: Maciej W. Rozycki <macro@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
218d05ce32
commit
3703a39501
|
@ -3512,7 +3512,7 @@ static int dfx_xmt_done(DFX_board_t *bp)
|
|||
bp->descr_block_virt->xmt_data[comp].long_1,
|
||||
p_xmt_drv_descr->p_skb->len,
|
||||
DMA_TO_DEVICE);
|
||||
dev_kfree_skb_irq(p_xmt_drv_descr->p_skb);
|
||||
dev_consume_skb_irq(p_xmt_drv_descr->p_skb);
|
||||
|
||||
/*
|
||||
* Move to start of next packet by updating completion index
|
||||
|
|
Loading…
Reference in New Issue
Block a user