[dpdk-dev] [PATCH v5 07/10] examples/power: add json string handling
Yao, Lei A
lei.a.yao at intel.com
Sun Sep 30 03:54:08 CEST 2018
> +#ifdef USE_JANSSON
> +static int
> +parse_json_to_pkt(json_t *element, struct channel_packet *pkt)
> +{
> + const char *key;
> + json_t *value;
> + int ret;
> +
> + memset(pkt, 0, sizeof(struct channel_packet));
> +
> + pkt->nb_mac_to_monitor = 0;
> + pkt->t_boost_status.tbEnabled = false;
> + pkt->workload = LOW;
> + pkt->policy_to_use = TIME;
> + pkt->command = PKT_POLICY;
> + pkt->core_type = CORE_TYPE_PHYSICAL;
> +
Hi, Dave
For the workload policy , it's set to LOW by default,
but we can't change it again using JSON file channel. Is it
by design?
More information about the dev
mailing list