net: moxa: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 12 Feb 2019 15:56:00 +0000 (23:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 04:50:42 +0000 (20:50 -0800)
commit412261d5c901472b025c8dcea173997209f28ab2
tree761d6d6ce836be9320cc4ad13aae1f5efb7c1d92
parent5f5a8c75daed965a3631ab98a783846260d2729d
net: moxa: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in moxart_tx_finished() 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>
drivers/net/ethernet/moxa/moxart_ether.c