[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1551106977-16579-1-git-send-email-albin_yang@163.com>
Date: Mon, 25 Feb 2019 23:02:57 +0800
From: Yang Wei <albin_yang@....com>
To: netdev@...r.kernel.org
Cc: khalasa@...p.pl, davem@...emloft.net, yang.wei9@....com.cn,
albin_yang@....com
Subject: [PATCH net-next] net: wan: ixp4xx_hss: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
From: Yang Wei <yang.wei9@....com.cn>
dev_consume_skb_irq() should be called in hss_hdlc_txdone_irq() when
skb xmit done. It makes drop profiles(dropwatch, perf) more friendly.
Signed-off-by: Yang Wei <yang.wei9@....com.cn>
---
drivers/net/wan/ixp4xx_hss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/net/wan/ixp4xx_hss.c
index 6a505c2..5c60dc6 100644
--- a/drivers/net/wan/ixp4xx_hss.c
+++ b/drivers/net/wan/ixp4xx_hss.c
@@ -246,7 +246,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
--
2.7.4
Powered by blists - more mailing lists