Message ID | 1549382631-5211-1-git-send-email-albin_yang@163.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [net] net: tulip: de2104x: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles | expand |
From: Yang Wei <albin_yang@163.com> Date: Wed, 6 Feb 2019 00:03:51 +0800 > From: Yang Wei <yang.wei9@zte.com.cn> > > dev_consume_skb_irq() should be called in de_tx() when skb xmit > done. It makes drop profiles(dropwatch, perf) more friendly. > > Signed-off-by: Yang Wei <yang.wei9@zte.com.cn> Applied.
diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index 13430f7..f1a2da1 100644 --- a/drivers/net/ethernet/dec/tulip/de2104x.c +++ b/drivers/net/ethernet/dec/tulip/de2104x.c @@ -585,7 +585,7 @@ static void de_tx (struct de_private *de) netif_dbg(de, tx_done, de->dev, "tx done, slot %d\n", tx_tail); } - dev_kfree_skb_irq(skb); + dev_consume_skb_irq(skb); } next: