net: apple: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Mon, 28 Jan 2019 23:39:13 +0000 (07:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 07:09:19 +0000 (23:09 -0800)
commit100091156c1a4da11c0764265b9e328d7858f2bb
tree7b12b163652268cda2353cc6ef7a5f3c60435758
parent3afa73dd7c8b586d9d01a96063d537e1550d1287
net: apple: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in bmac_txdma_intr() 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/apple/bmac.c