summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/adaptec
diff options
context:
space:
mode:
authorYang Wei <yang.wei9@zte.com.cn>2019-02-14 23:06:40 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-14 12:43:15 -0500
commite772261b53bc45f53693ae4514658cd376da9e56 (patch)
tree748e130627c4169ad5ac9dbb5c87371a2c58c33b /drivers/net/ethernet/adaptec
parent467d2fceafb6c1dc3cf444c86266a6c0334b1f3b (diff)
net: adaptec: starfire: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
dev_consume_skb_irq() should be called in intr_handler() 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/adaptec')
-rw-r--r--drivers/net/ethernet/adaptec/starfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c
index 097467f44b0d..816540e6beac 100644
--- a/drivers/net/ethernet/adaptec/starfire.c
+++ b/drivers/net/ethernet/adaptec/starfire.c
@@ -1390,7 +1390,7 @@ static irqreturn_t intr_handler(int irq, void *dev_instance)
}
}
- dev_kfree_skb_irq(skb);
+ dev_consume_skb_irq(skb);
}
np->tx_done_q[np->tx_done].status = 0;
np->tx_done = (np->tx_done + 1) % DONE_Q_SIZE;