From patchwork Tue Feb 13 17:38:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Dumitrescu X-Patchwork-Id: 136651 X-Patchwork-Delegate: ferruh.yigit@amd.com 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 B14DE43B0D; Tue, 13 Feb 2024 18:38:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96AE942E0B; Tue, 13 Feb 2024 18:38:14 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by mails.dpdk.org (Postfix) with ESMTP id 5706040A4B; Tue, 13 Feb 2024 18:38:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707845893; x=1739381893; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=48iStKH5AD5EG3k6VPdQHaJqZ/zVQj4XCVdjPRFs+WM=; b=K0gSh4TJHjXge+WPAReO3teyf/CizN08vDqmscpkzE/96Avc+NJfz+1d XQsnaiAFqMXUFPSH5bOVs8zSIfpglFoiNelIuijXa5Y+cNuRRJv/aeiUU xCb/wgiNsG75xQ9pJ4Y82/Gfc4W5Mf8MjYz7m2iD0/XkWBRb7HRK+VrFT CypgqSK2/6LgLwt1aeiIImpmfYtRQxP7VrahSFyq3QvPOzV+zkNCfZQAd PgECWUPX5Dmwn0PVhjSD12WRwqYYl4GqujtYKMpdbHp/rwhmLkMOoAt8P DbLArAqGaAxcrqJrETcowJ7mOXYyjjeU/QsNIV0NkDgo2uq5PGbyEElhu g==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="2006002" X-IronPort-AV: E=Sophos;i="6.06,157,1705392000"; d="scan'208";a="2006002" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2024 09:38:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,157,1705392000"; d="scan'208";a="3303801" Received: from silpixa00400573.ir.intel.com (HELO silpixa00400573.ger.corp.intel.com) ([10.237.223.184]) by orviesa006.jf.intel.com with ESMTP; 13 Feb 2024 09:38:11 -0800 From: Cristian Dumitrescu To: dev@dpdk.org Cc: stable@dpdk.org Subject: [PATCH V2] examples/pipeline: fix include path for rte_log.h Date: Tue, 13 Feb 2024 17:38:09 +0000 Message-Id: <20240213173809.1536955-1-cristian.dumitrescu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240213145218.1532323-1-cristian.dumitrescu@intel.com> References: <20240213145218.1532323-1-cristian.dumitrescu@intel.com> 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 rte_log.h was moved to a new directory, the include path was not updated for the generated C code produced by the pipeline library, which results in build failure for this code. Fixes: 09ce41310930 ("log: separate logging functions out of EAL") Cc: stable@dpdk.org Signed-off-by: Cristian Dumitrescu Tested-by: Ferruh Yigit --- drivers/net/softnic/rte_eth_softnic_cli.c | 2 ++ examples/pipeline/cli.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth_softnic_cli.c index 085523fe03..95e705c553 100644 --- a/drivers/net/softnic/rte_eth_softnic_cli.c +++ b/drivers/net/softnic/rte_eth_softnic_cli.c @@ -337,6 +337,7 @@ cmd_softnic_pipeline_libbuild(struct pmd_internals *softnic __rte_unused, "-I %s/lib/eal/include " "-I %s/lib/eal/x86/include " "-I %s/lib/eal/include/generic " + "-I %s/lib/log " "-I %s/lib/meter " "-I %s/lib/port " "-I %s/lib/table " @@ -361,6 +362,7 @@ cmd_softnic_pipeline_libbuild(struct pmd_internals *softnic __rte_unused, install_dir, install_dir, install_dir, + install_dir, log_file, obj_file, lib_file, diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 2ae6cc579f..afb143c01f 100644 --- a/examples/pipeline/cli.c +++ b/examples/pipeline/cli.c @@ -714,6 +714,7 @@ cmd_pipeline_libbuild(char **tokens, "-I %s/lib/eal/include " "-I %s/lib/eal/x86/include " "-I %s/lib/eal/include/generic " + "-I %s/lib/log " "-I %s/lib/meter " "-I %s/lib/port " "-I %s/lib/table " @@ -738,6 +739,7 @@ cmd_pipeline_libbuild(char **tokens, install_dir, install_dir, install_dir, + install_dir, log_file, obj_file, lib_file,