diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-05 19:01:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-07 04:38:15 +0300 |
commit | 3703a395012b509cb2fea50958cdbe4a6a895eed (patch) | |
tree | 7dd43b69a1c7d19c02501775e12c5fded63a7d8e | |
parent | 218d05ce326f9e1b40a56085431fa1068b43d5d9 (diff) | |
download | linux-3703a395012b509cb2fea50958cdbe4a6a895eed.tar.xz |
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>
-rw-r--r-- | drivers/net/fddi/defxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/defxx.c b/drivers/net/fddi/defxx.c index 38ac8ef41f5f..56b7791911bf 100644 --- a/drivers/net/fddi/defxx.c +++ b/drivers/net/fddi/defxx.c @@ -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 |