diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-12 23:51:45 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-13 20:50:42 -0800 |
commit | d270f67d325ca709f3f98d5965e401235e6e4422 (patch) | |
tree | c70da330663a0a3ca67594c88518d09ed83e7b93 /drivers/net/ethernet/atheros/atlx | |
parent | eae15bdc2a0c13e5d908e5c41702fdf0076e218a (diff) | |
download | linux-d270f67d325ca709f3f98d5965e401235e6e4422.tar.bz2 |
net: atheros: 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/atheros/atlx')
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index 63edc5706c09..9e07b469066a 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c @@ -2088,7 +2088,7 @@ static int atl1_intr_tx(struct atl1_adapter *adapter) } if (buffer_info->skb) { - dev_kfree_skb_irq(buffer_info->skb); + dev_consume_skb_irq(buffer_info->skb); buffer_info->skb = NULL; } |