be2net: Use dev_consume_skb_any() in the non-drop path
Subsystems (3)
PATCH 1/1 be2net: Use dev_consume_skb_any() in the non-drop path
From: Rick Jones <[email protected]>
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 Rick Jones <[email protected]>
---
Briefly beaten-on with some netperf TCP_RR tests, but not tried with perf because I'm too clueless to get the 3.17.0-rc1 perf and all it seems to want onto my "Precise" test system :(
drivers/net/ethernet/emulex/benet/be_main.c +1 -1
@@ -1991,7 +1991,7 @@ static u16 be_tx_compl_process(struct be_adapter *adapter,queue_tail_inc (txq); }while (cur_index != last_index); -dev_kfree_skb_any (sent_skb); +dev_consume_skb_any (sent_skb);return num_wrbs; }
From: [email protected] (Rick Jones)
Date: Thu, 28 Aug 2014 08:53:16 -0700 (PDT)
Quoted 7 lines
From: Rick Jones <[email protected]>
The be2net driver was still using
dev_kfree_skb_any()in a "normal" skb freeing path. This rather clutters perf top -G -eskb_kfree_skbprofiling.Signed-off-by Rick Jones <[email protected]>
Applied, thanks Rick.