diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-06 00:03:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 17:38:15 -0800 |
commit | 62d1a31cfb5d9291f4dd90c1b0ef5c22f3c235bf (patch) | |
tree | f5e7dd6bab55a46bc9e176884d97c536284337e2 /drivers/net/ethernet/dec | |
parent | 3703a395012b509cb2fea50958cdbe4a6a895eed (diff) | |
download | linux-62d1a31cfb5d9291f4dd90c1b0ef5c22f3c235bf.tar.gz linux-62d1a31cfb5d9291f4dd90c1b0ef5c22f3c235bf.tar.bz2 linux-62d1a31cfb5d9291f4dd90c1b0ef5c22f3c235bf.zip |
net: tulip: de2104x: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/dec')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/de2104x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c index 13430f75496c..f1a2da15dd0a 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: |