net: tehuti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 5 Feb 2019 16:21:31 +0000 (00:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 01:38:15 +0000 (17:38 -0800)
commitf4ad1a6154e305dbcde20395a6961658d1ce032b
treec69f51d5a51ee99c2f42118596a0bca930fc2c24
parent98fcd70b642dd843f80c92eeb6f8c07886876999
net: tehuti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in bdx_tx_cleanup() 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/tehuti/tehuti.c