From patchwork Thu May 5 13:01:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Singh, Aman Deep" X-Patchwork-Id: 110731 X-Patchwork-Delegate: andrew.rybchenko@oktetlabs.ru Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 867EBA04FF; Thu, 5 May 2022 15:22:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3285E4068A; Thu, 5 May 2022 15:22:30 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7748F40042 for ; Thu, 5 May 2022 15:22:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651756948; x=1683292948; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Zq/3FiJMhBAnYqViJxEI7hdqsNN99sGcnF6ev5h28Ww=; b=FHyY7fvY+Q7WMTNB8PVvHsqwABt+EJpSn8mW5K1wyKZP2AHfd5+HgMtu Jjj4YK1z9mHYbKZS1J5KNaEj0/583/6mxGmktOCDtar0UUBLOBHTXU5RB wox5qpkHnQis4bQUWdK85M7axI7aN8P+6wcIpM4yekbBB0ujMItlUlybY eNJS2MyWRd6HVUimmVQL0AcRCsQd9LTv6tuJaiVSDiISKn8+256FZwDCi eqjSSbkDSijqD4crv1NurR3gspyFjXRMND3grokF/6up64lyo6ZHqDaGu FtPjXYz0EP1zOgd57BtkWitX2EeFI5W2AciiSr9W7KSBNvcb3jamH4fZ5 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10338"; a="248642515" X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="248642515" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 06:22:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,201,1647327600"; d="scan'208";a="621292867" Received: from unknown (HELO localhost.localdomain) ([10.190.212.184]) by fmsmga008.fm.intel.com with ESMTP; 05 May 2022 06:22:24 -0700 From: Aman Singh To: dev@dpdk.org Cc: ilia.kurakin@intel.com Subject: [PATCH] ethdev: fix compilation issue with vtune option Date: Thu, 5 May 2022 18:31:38 +0530 Message-Id: <20220505130138.501013-1-aman.deep.singh@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org When VTune profile option is enabled, compilation error is seen. Bugzilla ID: 1004 Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach") Cc: ilia.kurakin@intel.com Signed-off-by: Aman Singh Reviewed-by: Andrew Rybchenko --- lib/ethdev/ethdev_profile.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ethdev/ethdev_profile.h b/lib/ethdev/ethdev_profile.h index e5ee4df824..881aec1273 100644 --- a/lib/ethdev/ethdev_profile.h +++ b/lib/ethdev/ethdev_profile.h @@ -6,6 +6,7 @@ #define _RTE_ETHDEV_PROFILE_H_ #include "rte_ethdev.h" +#include "ethdev_driver.h" /** * Initialization of the Ethernet device profiling.