net: amd8111e: replace dev_kfree_skb_irq by dev_consume_skb_irq
authorYang Wei <albin_yang@163.com>
Sun, 27 Jan 2019 15:58:25 +0000 (23:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 07:09:19 +0000 (23:09 -0800)
commit3afa73dd7c8b586d9d01a96063d537e1550d1287
tree4a7c4de382ddcf0689abd22d3edf9104d75809af
parentf48af114895b2f9cdc218ed75666ade83380255b
net: amd8111e: replace dev_kfree_skb_irq by dev_consume_skb_irq

dev_consume_skb_irq() should be called in amd8111e_tx() when xmit
done. It makes drop profiles more friendly.

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/amd8111e.c