From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 4D2FEA0A0A
	for <public@inbox.dpdk.org>; Thu, 21 Jan 2021 18:22:53 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 3DA53140D67;
	Thu, 21 Jan 2021 18:22:53 +0100 (CET)
Received: from mga11.intel.com (mga11.intel.com [192.55.52.93])
 by mails.dpdk.org (Postfix) with ESMTP id 165C8140D21;
 Thu, 21 Jan 2021 18:22:50 +0100 (CET)
IronPort-SDR: 5BQqfvM7O6zVewT3jhtm7oi4ihh7lZwzxy8UkkTEwJMa1FIeF4rY2bZMyj1LDfIQmJHWufiTyZ
 jutVOi6b0PYw==
X-IronPort-AV: E=McAfee;i="6000,8403,9871"; a="175799665"
X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="175799665"
Received: from orsmga008.jf.intel.com ([10.7.209.65])
 by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 21 Jan 2021 09:22:48 -0800
IronPort-SDR: KvrvO/7ZMiXLoAQLaIUAQQ1xqIgQzLW+YCBD3l1VWyciY636wpxycFJPCoiN9b9/sNSAPSsfXm
 Kq3XIUntnJmg==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.79,364,1602572400"; d="scan'208";a="385386727"
Received: from silpixa00399952.ir.intel.com (HELO
 silpixa00399952.ger.corp.intel.com) ([10.237.222.38])
 by orsmga008.jf.intel.com with ESMTP; 21 Jan 2021 09:22:47 -0800
From: David Hunt <david.hunt@intel.com>
To: dev@dpdk.org
Cc: david.hunt@intel.com,
	stable@dpdk.org
Date: Thu, 21 Jan 2021 17:21:55 +0000
Message-Id: <20210121172201.22582-1-david.hunt@intel.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20210120135556.33763-2-david.hunt@intel.com>
References: <20210120135556.33763-2-david.hunt@intel.com>
Subject: [dpdk-stable] [PATCH v4 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 <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

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
v4 changes
  - add @internal tag on 2 functions for Doxygen
  - add @warning EXPERIMENTAL tag on 2 functions for Doxygen
  - improve description of lcore param in API docs
  - Improve maintainability sizeof's
  - add the 2 added functions to the version.map file

[PATCH v4 1/6] power: create guest channel public header file
[PATCH v4 2/6] power: make channel msg functions public
[PATCH v4 3/6] power: rename public structs
[PATCH v4 4/6] power: rename defines
[PATCH v4 5/6] power: add new header file to export list
[PATCH v4 6/6] power: clean up includes