net: natsemi: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Wed, 13 Feb 2019 15:19:14 +0000 (23:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 16:56:36 +0000 (11:56 -0500)
commit380ab7e3d59d790e05d39f3c1d4a6039ef0e3901
treed41bf6c7a648b540efda046764cfc2443439dd4a
parent105cfb064bcd60fdd74ac29a02f09efbc6a303d8
net: natsemi: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called 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/natsemi/natsemi.c
drivers/net/ethernet/natsemi/ns83820.c
drivers/net/ethernet/natsemi/sonic.c