diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-12 18:59:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 07:50:42 +0300 |
commit | e78042eb6e2d831f9e616d7cfa1dce3021504b5d (patch) | |
tree | 194daf7da03d68a2d5f63afbe748861f96b455e0 /drivers/net/ethernet/sis/sis190.c | |
parent | 8f5eeb9097fc46bd68a95870cbf2d04de3c4f968 (diff) | |
download | linux-e78042eb6e2d831f9e616d7cfa1dce3021504b5d.tar.xz |
net: sis: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
dev_consume_skb_irq() should be called 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/sis/sis190.c')
-rw-r--r-- | drivers/net/ethernet/sis/sis190.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sis/sis190.c b/drivers/net/ethernet/sis/sis190.c index 808cf9816673..5b351beb78cb 100644 --- a/drivers/net/ethernet/sis/sis190.c +++ b/drivers/net/ethernet/sis/sis190.c @@ -714,7 +714,7 @@ static void sis190_tx_interrupt(struct net_device *dev, sis190_unmap_tx_skb(tp->pci_dev, skb, txd); tp->Tx_skbuff[entry] = NULL; - dev_kfree_skb_irq(skb); + dev_consume_skb_irq(skb); } if (tp->dirty_tx != dirty_tx) { |