[dpdk-dev] [PATCH v4 04/10] VM Power Management application and Makefile.
De Lara Guarch, Pablo
pablo.de.lara.guarch at intel.com
Thu Oct 16 20:28:15 CEST 2014
> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Alan Carew
> Sent: Sunday, October 12, 2014 8:36 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v4 04/10] VM Power Management application
> and Makefile.
>
> For launching CLI thread and Monitor thread and initialising
> resources.
> Requires a minimum of two lcores to run, additional cores specified by eal
> core
> mask are not used.
>
> Signed-off-by: Alan Carew <alan.carew at intel.com>
> ---
> examples/vm_power_manager/Makefile | 57 ++++++++++++++++++
> examples/vm_power_manager/main.c | 117
> +++++++++++++++++++++++++++++++++++++
> examples/vm_power_manager/main.h | 52 +++++++++++++++++
> 3 files changed, 226 insertions(+)
> create mode 100644 examples/vm_power_manager/Makefile
> create mode 100644 examples/vm_power_manager/main.c
> create mode 100644 examples/vm_power_manager/main.h
[...]
> +# Default target, can be overriden by command line or environment
> +RTE_TARGET ?= x86_64-default-linuxapp-gcc
Tiny comment here. Target should be x86_64-native-linuxapp-gcc
> +
> +include $(RTE_SDK)/mk/rte.vars.mk
> +
> +# binary name
> +APP = vm_power_mgr
> +
> +# all source are stored in SRCS-y
> +SRCS-y := main.c vm_power_cli.c power_manager.c channel_manager.c
> +SRCS-y += channel_monitor.c
> +
> +CFLAGS += -O3 -lvirt -I$(RTE_SDK)/lib/librte_power/
> +CFLAGS += $(WERROR_FLAGS)
> +
More information about the dev
mailing list