From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 808A7A0A06 for ; Wed, 20 Jan 2021 14:59:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7330C140DE1; Wed, 20 Jan 2021 14:59:48 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 91BC2140DB4; Wed, 20 Jan 2021 14:59:46 +0100 (CET) IronPort-SDR: OBnlNlZhxlETzJMgTVN2AsKZwQevS9k0KOaCl9OTl3Rt6ixzCZcRArzcyU3eLShfLA/llNIdhs T13YwdXMyKkw== X-IronPort-AV: E=McAfee;i="6000,8403,9869"; a="176535684" X-IronPort-AV: E=Sophos;i="5.79,361,1602572400"; d="scan'208";a="176535684" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2021 05:59:45 -0800 IronPort-SDR: Hiusn255wkNDa8kTpMaT9wgVPO2OyIN/ZpHS6D6KdkqL8BzOKY0ckNqT1i3oRwRmEByeBNv+xX AgbI3Mh7dwEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,361,1602572400"; d="scan'208";a="571344938" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.222.38]) by fmsmga006.fm.intel.com with ESMTP; 20 Jan 2021 05:59:44 -0800 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com, stable@dpdk.org Date: Wed, 20 Jan 2021 13:55:50 +0000 Message-Id: <20210120135556.33763-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210108143048.23755-2-david.hunt@intel.com> References: <20210108143048.23755-2-david.hunt@intel.com> power: fix make build for power apps Subject: [dpdk-stable] [PATCH v3 0/6] power: fix make build for power apps X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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 v3 changes - Ensure both functions added to the API are tagged as experimental