Commit 96d49225 authored by Rick Jones's avatar Rick Jones Committed by David S. Miller

be2net: Use dev_consume_skb_any() in the non-drop path

The be2net driver was still using dev_kfree_skb_any() in a "normal"
skb freeing path.  This rather clutters perf top -G -e skb_kfree_skb
profiling.
Signed-off-by: default avatarRick Jones <rick.jones2@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56daf66d
...@@ -1991,7 +1991,7 @@ static u16 be_tx_compl_process(struct be_adapter *adapter, ...@@ -1991,7 +1991,7 @@ static u16 be_tx_compl_process(struct be_adapter *adapter,
queue_tail_inc(txq); queue_tail_inc(txq);
} while (cur_index != last_index); } while (cur_index != last_index);
dev_kfree_skb_any(sent_skb); dev_consume_skb_any(sent_skb);
return num_wrbs; return num_wrbs;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment