From patchwork Tue Jun 14 12:29:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 112722 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 1DAD0A0093; Tue, 14 Jun 2022 14:29:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0495F40A81; Tue, 14 Jun 2022 14:29:14 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 2E7AF4069C for ; Tue, 14 Jun 2022 14:29:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655209752; x=1686745752; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PNR2dFS6CkR5/ZuB8H30Cr1fnYU54HTixBv189S5C7s=; b=iK5vvHi58HhWTeDBXiYGr5ar0KDHfdebzHB6INt2YTgrFwWmhcOQhxK8 6c/0kgrwe9JOSwaNn/9AHXHkZY4Sqt1FYh7NQIN1lfDX822kiQlBRXCds +5XJq6NqqAh2WFecByNaOkcGFDRzbKS5nqDbjz810IMt24S3WoJnXQfBT cuW8zLnk33ltsgb9y0MdYxXgKUyhOk5ZR14u+Ohc8/LIE2koJmT2Mi4YF R2Plpft+yOH7FwYWEGAvo1hxwbZh84gVMWQiACmVT0ugXCl5YcVTUCVqA TdDRMyDr3kzkga36ME6HtB0GKMnc/ulDo4MydB+mRPBJ2qzqEh60FW6f2 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10377"; a="259053462" X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="259053462" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2022 05:29:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,300,1647327600"; d="scan'208";a="617977167" Received: from silpixa00401385.ir.intel.com (HELO silpixa00401385.ger.corp.intel.com.) ([10.237.223.181]) by orsmga001.jf.intel.com with ESMTP; 14 Jun 2022 05:29:10 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 0/2] add includes to help when editing in Eclipse Date: Tue, 14 Jun 2022 13:29:02 +0100 Message-Id: <20220614122904.159946-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.34.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 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 defintions, so we can reduce that confusion by ensuring that we include all needed headers to get those definitions. 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