]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: myri10ge: 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:15:43 +0000 (23:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 16:56:36 +0000 (11:56 -0500)
commit5fbc136b487852b5ec06855497efb688b7aa8b4e
treeadc7359eed0f5434dea8daa438de85bfa8a43e5c
parentfc67ade130382e21a43eca81c5ed098d8a82eedd
net: myri10ge: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles

dev_consume_skb_irq() should be called in myri10ge_tx_done() 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/myricom/myri10ge/myri10ge.c