From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+t/AB+xKDxISc49l0McUUrpZv9iaFoDwxI1quUGT6So=; b=AM8CZemG2XD7PqWeKN4JPf/bSsQmR3lHd7RKbtRAnxy2HcQLbJEX/bPbED+oGx6s+N zkpntQJP5vGc2XWgBQFpeNyMSHYYQT+QY33cnCPhf6y7T+kouvMSFoejKpH7cnOnC6oI aeLugbcsosDblarlT1ExkZLbaheCnCBph5u46MO3ye08xVVZwd1YWrMfTOjiW2LaH1eu xJFyoQ4JEDGAazRvMk/+eykw1wLgx9uU9PWwbbeBuTDakw5MawubK4Q0X7pJYPJ8jACC peUnD/m2NjxtwTR85Pwo4vHAiF1K3bHiaed3BpQAWZpqmXKT/sR3F9z5XtjvALZjb2Xy fH4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+t/AB+xKDxISc49l0McUUrpZv9iaFoDwxI1quUGT6So=; b=UOfCdeWzY+cLZLsj49HDfiS/nzFp7sfpXOhTJ2kJxifeUn2B3b6tkAJdXgLKw3+5Xo XYMDMJRVUaPbrPRBeljZcLcuxCZk6ORY7jcA27aJLwXUHoM55x7SypctY5wUf71d1VRm jNVMAaVvD6/7ZzwXr6EpnMEm8aWjr0Ah37KYhCDWrWY6KrMZHUJq21SBcM/C33DQimhV 6uW2rA5G2n6wq12bnlaEjnLhLNn8Kz9awsJcKC//GEOEaJgxUO51P8O7jrmjw7hiWSnf lyIGH5vUNparA76ZVVIUiBGnXyFyzVRF5LWd2ClAXoRXsE5SUNiTE6vXhlDWaykMT4eM cGHg== X-Gm-Message-State: APzg51CYUKUu+arLjTfYPeBQTvtJrglhNHpaAH7VLgvQElt1g0Cars4T i1QjfW2OG2udmm8Cprmf00NeTA== X-Google-Smtp-Source: ANB0VdbpMr1oKs8YYk/++mjoLTJ8t3tp3QOlI0YswzGsjJVtWiWFAyneVFRwQBqOQk+jUX/1aTtMqA== X-Received: by 2002:a17:902:ba83:: with SMTP id k3-v6mr10719905pls.251.1535648375597; Thu, 30 Aug 2018 09:59:35 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id o20-v6sm23382972pfj.35.2018.08.30.09.59.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Aug 2018 09:59:35 -0700 (PDT) Date: Thu, 30 Aug 2018 09:59:32 -0700 From: Stephen Hemminger To: David Hunt Cc: dev@dpdk.org, john.mcnamara@intel.com Message-ID: <20180830095932.5cd1cb9d@xeon-e3> In-Reply-To: <20180830105422.1198-3-david.hunt@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH v1 2/7] lib/power: add changes for host commands/policies X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 16:59:37 -0000 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.