lib/power: add changes for host commands/policies
authorDavid Hunt <david.hunt@intel.com>
Wed, 17 Oct 2018 13:05:27 +0000 (14:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 08:48:15 +0000 (10:48 +0200)
commit757bf2e7cfb987e1dafd3aeb166fe314f620c968
treea12cac5f50284c7a50a7972d354a5456eddc94f6
parent395e97bf801b6b4f0d343c95874b5303324c4def
lib/power: add changes for host commands/policies

This patch does a couple of things:
  * Adds a new message type for removing policies (PKT_POLICY_REMOVE)
    Used when we want to remove a previously created policy.
  * Adds a core_type bool to the channel packet struct to specify whether
    the type of core we want to control is virtual or physical.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_power/channel_commands.h