]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf871401f97cd5b363fa6835e7f31111245c82efa
tree7b12b163652268cda2353cc6ef7a5f3c60435758
parente459c5073dbc21b379112488637023381eb0cf3b
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