From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EAD75A0524; Fri, 8 Jan 2021 15:30:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9225140F07; Fri, 8 Jan 2021 15:30:56 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id BF36A140EE2; Fri, 8 Jan 2021 15:30:54 +0100 (CET) IronPort-SDR: ksBEAUEMSmK+uG7/CJKprmq8DSBiHCRGgC/KuPHPf1SZFwzgr6GaEn+sTGeM09kcS3RwtmFemw 589HEMc7L6gw== X-IronPort-AV: E=McAfee;i="6000,8403,9857"; a="262374152" X-IronPort-AV: E=Sophos;i="5.79,331,1602572400"; d="scan'208";a="262374152" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jan 2021 06:30:53 -0800 IronPort-SDR: WBpB75Oa2JzQcSpEWD5sRjIi9fbeuuF2m6LDjxsRZAli5O1ZBC+QEqjworKc6ccNucbQ0Nptxd /MsoNcUh71SQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,331,1602572400"; d="scan'208";a="403371385" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.222.38]) by FMSMGA003.fm.intel.com with ESMTP; 08 Jan 2021 06:30:52 -0800 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com, stable@dpdk.org Date: Fri, 8 Jan 2021 14:30:42 +0000 Message-Id: <20210108143048.23755-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201217113656.28884-1-david.hunt@intel.com> References: <20201217113656.28884-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH 0/6] power: fix make build for power apps 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 Sender: "dev" The power example applications that uses the virtio-serial method of communication cannot currently be built with make, and can only be built using meson/ninja. The guest channel message definitions and functions in guest_channel.h are needed by applications and need to be made public. This worked pre-20.11, but now with all the meson/ninja changes, making these apps externally no longer works. To fix, we need to move the header file with the API definitions for the channel commands public, and rename the functions accordingly. The main change is to rename channel_commands.h to rte_power_guest_channel.h so that it gets picked up by the installer and copied to /usr/local/include. Other changes include renaming #defines to have RTE_ at the beginning instead of CPU_. Finally we refactor the code to work with those changes. --- v2 changes - re-worked from monolithic patch to a 6 patch patchset for easier review [PATCH v2 1/6] power: create guest channel public header file [PATCH v2 2/6] power: make channel msg functions public [PATCH v2 3/6] power: rename public structs [PATCH v2 4/6] power: rename defines [PATCH v2 5/6] power: add new header file to export list [PATCH v2 6/6] power: clean up includes