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/atl1e | |
parent | eae15bdc2a0c13e5d908e5c41702fdf0076e218a (diff) | |
download | linux-d270f67d325ca709f3f98d5965e401235e6e4422.tar.gz |
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/atl1e')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c index 3164aad29bcf..9dfe6a9431e6 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c +++ b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c @@ -1259,7 +1259,7 @@ static bool atl1e_clean_tx_irq(struct atl1e_adapter *adapter) } if (tx_buffer->skb) { - dev_kfree_skb_irq(tx_buffer->skb); + dev_consume_skb_irq(tx_buffer->skb); tx_buffer->skb = NULL; } |