summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarvin Liu <yong.liu@intel.com>2016-07-04 16:57:59 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-11 17:23:32 +0200
commitfcccf6f1d509e94c2b6145104ba9728bbe315574 (patch)
treeff770d7770fa136bef13579caa616e945059339c /lib
parent3ca530edd4443f217beefe36fd176ce2804e0bf7 (diff)
downloaddpdk-fcccf6f1d509e94c2b6145104ba9728bbe315574.zip
dpdk-fcccf6f1d509e94c2b6145104ba9728bbe315574.tar.gz
dpdk-fcccf6f1d509e94c2b6145104ba9728bbe315574.tar.xz
examples/vm_power_manager: remove dependency on internal header
Macro CHANNEL_CMDS_MAX_CPUS stand for the maximum number of cores controlled by virtual channels. This macro only be used in the example, so remove it from library to example header file. Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/librte_power/channel_commands.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/librte_power/channel_commands.h b/lib/librte_power/channel_commands.h
index de6d926..383897b 100644
--- a/lib/librte_power/channel_commands.h
+++ b/lib/librte_power/channel_commands.h
@@ -40,13 +40,6 @@ extern "C" {
#include <stdint.h>
-/* Maximum number of CPUs */
-#define CHANNEL_CMDS_MAX_CPUS 64
-#if CHANNEL_CMDS_MAX_CPUS > 64
-#error Maximum number of cores is 64, overflow is guaranteed to \
- cause problems with VM Power Management
-#endif
-
/* Maximum number of channels per VM */
#define CHANNEL_CMDS_MAX_VM_CHANNELS 64