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:
98fcd70
)
net: tehuti: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Tue, 5 Feb 2019 16:21:31 +0000
(
00:21
+0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 7 Feb 2019 01:38:15 +0000
(17:38 -0800)
dev_consume_skb_irq() should be called in bdx_tx_cleanup() 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>
drivers/net/ethernet/tehuti/tehuti.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/tehuti/tehuti.c
b/drivers/net/ethernet/tehuti/tehuti.c
index dc966ddb6d815038b487f2edd05279e9397c30e7..b24c11187017d88b75ca9686603d5d32d7039e97 100644
(file)
--- a/
drivers/net/ethernet/tehuti/tehuti.c
+++ b/
drivers/net/ethernet/tehuti/tehuti.c
@@
-1739,7
+1739,7
@@
static void bdx_tx_cleanup(struct bdx_priv *priv)
tx_level -= db->rptr->len; /* '-' koz len is negative */
/* now should come skb pointer - free it */
- dev_
kfre
e_skb_irq(db->rptr->addr.skb);
+ dev_
consum
e_skb_irq(db->rptr->addr.skb);
bdx_tx_db_inc_rptr(db);
}