summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIlia Kurakin <ilia.kurakin@intel.com>2018-07-19 15:21:42 +0300
committerFerruh Yigit <ferruh.yigit@intel.com>2018-08-28 15:27:39 +0200
commit2c1bbab7f09d42210ad4c9e120c159c3bf038c8f (patch)
treea254637e2b807bc8315c3355ee904519d2ad5dd6 /config
parent53945477981cf75cf8d66e67a098b486e37df167 (diff)
downloaddpdk-2c1bbab7f09d42210ad4c9e120c159c3bf038c8f.zip
dpdk-2c1bbab7f09d42210ad4c9e120c159c3bf038c8f.tar.gz
dpdk-2c1bbab7f09d42210ad4c9e120c159c3bf038c8f.tar.xz
ethdev: change vtune profiling approach
The patch changes rx_burst profiling approach: 1. VTune's instrumentation is removed 2. empty hook callback for profiling is added This way all VTune-specific logic moves to the VTune side. Hook is enabled only when CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE option is turned on. VTune uses this hook to attach to the polling cycle. It is not possible to attach to the rx_burst directly, as it is inline. Signed-off-by: Ilia Kurakin <ilia.kurakin@intel.com> Acked-by: Keith Wiles <keith.wiles@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/common_base b/config/common_base
index 4bcbaf9..155c7d4 100644
--- a/config/common_base
+++ b/config/common_base
@@ -128,7 +128,7 @@ CONFIG_RTE_MAX_QUEUES_PER_PORT=1024
CONFIG_RTE_LIBRTE_IEEE1588=n
CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16
CONFIG_RTE_ETHDEV_RXTX_CALLBACKS=y
-CONFIG_RTE_ETHDEV_PROFILE_ITT_WASTED_RX_ITERATIONS=n
+CONFIG_RTE_ETHDEV_PROFILE_WITH_VTUNE=n
#
# Turn off Tx preparation stage