net: 8139cp: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 29 Jan 2019 14:40:51 +0000 (22:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 18:03:50 +0000 (10:03 -0800)
commit896cebc0e261a29a6f0b20ab21d1bfc06959e91d
tree20d3815c651b818cac8a20e08ef927e419b93f63
parente501070e4db0b67a4c17a5557d1e9d098f3db310
net: 8139cp: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in cp_tx() 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/realtek/8139cp.c