From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v1 2/7] lib/power: add changes for host commands/policies Date: Thu, 30 Aug 2018 09:59:32 -0700 Message-ID: <20180830095932.5cd1cb9d@xeon-e3> References: <20180830105422.1198-1-david.hunt@intel.com> <20180830105422.1198-3-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, john.mcnamara@intel.com To: David Hunt Return-path: Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id A3C085688 for ; Thu, 30 Aug 2018 18:59:36 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id j8-v6so4088102pll.12 for ; Thu, 30 Aug 2018 09:59:36 -0700 (PDT) In-Reply-To: <20180830105422.1198-3-david.hunt@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 30 Aug 2018 11:54:17 +0100 David Hunt wrote: > Signed-off-by: David Hunt > --- > lib/librte_power/channel_commands.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h > index ee638eefa..a82724911 100644 > --- a/lib/librte_power/channel_commands.h > +++ b/lib/librte_power/channel_commands.h > @@ -19,6 +19,7 @@ extern "C" { > #define CPU_POWER 1 > #define CPU_POWER_CONNECT 2 > #define PKT_POLICY 3 > +#define PKT_POLICY_REMOVE 4 > > /* CPU Power Command Scaling */ > #define CPU_POWER_SCALE_UP 1 > @@ -58,6 +59,8 @@ struct traffic { > uint32_t max_max_packet_thresh; > }; > > +enum core_type { VIRTUAL = 0, PHYSICAL }; > + Why this enum, looks like a boolean to me.