aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Wei <yang.wei9@zte.com.cn>2019-02-13 00:01:11 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-13 20:50:54 -0800
commit88e425843ee26f80b82d984e8ec4b662c38eb0ed (patch)
tree54c3cfb5bb9abb76342ca9f3b6366109222f9ac6
parentnet: macb: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles (diff)
downloadlinux-dev-88e425843ee26f80b82d984e8ec4b662c38eb0ed.tar.xz
linux-dev-88e425843ee26f80b82d984e8ec4b662c38eb0ed.zip
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>
-rw-r--r--drivers/net/ethernet/xscale/ixp4xx_eth.c2
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