OSDN Git Service

ixgbe: Convert the normal transmit complete path to dev_consume_skb_any()
authorRick Jones <rick.jones2@hp.com>
Fri, 12 Sep 2014 17:44:06 +0000 (17:44 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 Oct 2014 09:04:46 +0000 (02:04 -0700)
commitfe1f2a972c8c8d22ac234024b331130ddddf8682
tree274dc85dfd7e11a803b2659210d70ed19cebcef4
parentc9d49940849ff2f11f3646bc8eb1f23ed60b505d
ixgbe: Convert the normal transmit complete path to dev_consume_skb_any()

Convert the normal packet completion path to dev_consume_skb_any() so
packet drop profiling via dropwatch or perf top -G -e skb_kfree_skb
is not cluttered with false hits.

Compile tested only.  There is a dev_kfree_skb_any() in the routine
ixgbe_ptp_tx_hwtstamp() in ixgbe_ptp.c that looks like a conversion
candidate but I wasn't familiar enough with the code to pull the
trigger.

Signed-off-by: Rick Jones <rick.jones2@hp.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c