diff options
author | Yang Wei <yang.wei9@zte.com.cn> | 2019-02-13 00:01:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-13 20:50:54 -0800 |
commit | 88e425843ee26f80b82d984e8ec4b662c38eb0ed (patch) | |
tree | 54c3cfb5bb9abb76342ca9f3b6366109222f9ac6 /drivers/net/ethernet/xscale | |
parent | b9560a22a440a8813e613226c730d38cbbdb39eb (diff) | |
download | linux-88e425843ee26f80b82d984e8ec4b662c38eb0ed.tar.gz |
net: ixp4xx_eth: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
dev_consume_skb_irq() should be called in eth_txdone_irq() 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/xscale')
-rw-r--r-- | drivers/net/ethernet/xscale/ixp4xx_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c index aee55c03def0..ed6623a9801e 100644 --- a/drivers/net/ethernet/xscale/ixp4xx_eth.c +++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c @@ -139,7 +139,7 @@ #ifdef __ARMEB__ typedef struct sk_buff buffer_t; #define free_buffer dev_kfree_skb -#define free_buffer_irq dev_kfree_skb_irq +#define free_buffer_irq dev_consume_skb_irq #else typedef void buffer_t; #define free_buffer kfree |