]> git.baikalelectronics.ru Git - kernel.git/commit
net: via-velocity: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
authorYang Wei <yang.wei9@zte.com.cn>
Tue, 5 Feb 2019 16:22:54 +0000 (00:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2019 01:38:15 +0000 (17:38 -0800)
commit25fe1ac38b0d64145fd74d799efae7e3599e7cc6
treebe559da6786e45c5d1f9c1a2bae60007774e43f7
parentf997a87dfb07604140fe9968699cb580f9772630
net: via-velocity: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in velocity_free_tx_buf()
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/via/via-velocity.c