diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-14 23:06:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 12:43:15 -0500 |
commit | e772261b53bc45f53693ae4514658cd376da9e56 (patch) | |
tree | 748e130627c4169ad5ac9dbb5c87371a2c58c33b /drivers/net/ethernet/adaptec | |
parent | 467d2fceafb6c1dc3cf444c86266a6c0334b1f3b (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.c | 2 |
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; |