net: ti: 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:40:10 +0000 (07:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jan 2019 07:09:19 +0000 (23:09 -0800)
commitb3379a424dde97755ad7a6f4405648a9ea13d6e3
tree59ad803911d484e1e4bfdc8f8108b4b6560938bf
parent100091156c1a4da11c0764265b9e328d7858f2bb
net: ti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in cpmac_end_xmit() 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/ti/cpmac.c