From patchwork Wed Jun 15 17:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 112789 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 19B8DA0548; Wed, 15 Jun 2022 19:11:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 082D442B92; Wed, 15 Jun 2022 19:11:14 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 90894410D0 for ; Wed, 15 Jun 2022 19:11:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655313071; x=1686849071; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ZM4U01IEzGf5zW1cXU6f4MI8g35gIQyPNQ0gtkvDUIM=; b=l/toiBTBzsJv2Amza/rdgTAPCS52WRsxYFHi8hhCZmCdtwIsiBfySS+a ajvPO3BhEj2pKFA6vTMfPqy2Tdb7LCkoczt73HXp8K/wDdXz72V+JGDAB 8uiWuPkN330wkZoKkdS8hjTv6Pa1Iozw7o6zNX+Bro8pV7RBMLd+9QVq3 T0vw9R3AvwBMFOTftPcxfCoJD/Iq7QATkq4XsPd/BBNJSAMIi0VWyUZ1C FRZqxmd/giYz/3SMfeF7MNRHz7UnCCIMfpTBLBZIF2Pty0rWv2ImjQ1Xh rw3qwH3O6HBlJ+ZiKv6uCvELmrS/0Jaz8+LC3OnP4ubM2QkkMg8cgNDtV g==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="276612806" X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="276612806" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2022 10:10:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,302,1647327600"; d="scan'208";a="713032174" Received: from silpixa00401385.ir.intel.com (HELO silpixa00401385.ger.corp.intel.com.) ([10.237.223.181]) by orsmga004.jf.intel.com with ESMTP; 15 Jun 2022 10:10:21 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH v2 0/2] add includes to help when editing in Eclipse Date: Wed, 15 Jun 2022 18:10:11 +0100 Message-Id: <20220615171013.36426-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220614122904.159946-1-bruce.richardson@intel.com> References: <20220614122904.159946-1-bruce.richardson@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 These two small patches add in some additional header includes to 3 DPDK files, in order to improve the experience of anyone who, like me, sometimes uses eclipse-cdt as an editor for working with DPDK code. The C indexer in eclipse seems easily confused when missing some of our macro definitions, so we can reduce that confusion by ensuring that we include all needed headers to get those definitions. V2: fix copy-paste error Bruce Richardson (2): examples/l3fwd: add include for macro definition common/cnxk: add include for macro definition drivers/common/cnxk/roc_io.h | 2 ++ examples/l3fwd/l3fwd_em.h | 2 ++ examples/l3fwd/l3fwd_em_sequential.h | 2 ++ 3 files changed, 6 insertions(+) --- 2.34.1