projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1023121
)
net: alteon: replace dev_kfree_skb_irq by dev_consume_skb_irq
author
Yang Wei
<albin_yang@163.com>
Sun, 27 Jan 2019 15:56:34 +0000
(23:56 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 29 Jan 2019 07:09:19 +0000
(23:09 -0800)
dev_consume_skb_irq() should be called in ace_tx_int() when xmit
done. It makes drop profiles more friendly.
Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/alteon/acenic.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/alteon/acenic.c
b/drivers/net/ethernet/alteon/acenic.c
index 4f11f98347edecd95632b3bc875f8c7df51685c9..1827ef1f6d5580c76ea31124ef9bb4102ad46248 100644
(file)
--- a/
drivers/net/ethernet/alteon/acenic.c
+++ b/
drivers/net/ethernet/alteon/acenic.c
@@
-2059,7
+2059,7
@@
static inline void ace_tx_int(struct net_device *dev,
if (skb) {
dev->stats.tx_packets++;
dev->stats.tx_bytes += skb->len;
- dev_
kfre
e_skb_irq(skb);
+ dev_
consum
e_skb_irq(skb);
info->skb = NULL;
}