[dpdk-dev] [PATCH 4/4] power: add cmd to query CPU freq.
Daly, Lee
lee.daly at intel.com
Fri Sep 27 11:52:37 CEST 2019
> -----Original Message-----
> From: Hajkowski, MarcinX
> Sent: Wednesday, April 3, 2019 6:16 PM
> To: Hunt, David <david.hunt at intel.com>
> Cc: dev at dpdk.org; Hajkowski, MarcinX <marcinx.hajkowski at intel.com>
> Subject: [PATCH 4/4] power: add cmd to query CPU freq.
>
> From: Marcin Hajkowski <marcinx.hajkowski at intel.com>
>
> Add command and related logic to query CPU frequencies either for specified
> CPU or all cores.
>
> Signed-off-by: Marcin Hajkowski <marcinx.hajkowski at intel.com>
> ---
> .../guest_cli/vm_power_cli_guest.c | 150 ++++++++++++++++--
> 1 file changed, 138 insertions(+), 12 deletions(-)
>
> diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
<...>
> +
> + pkt.command = CPU_POWER_QUERY_FREQ_LIST;
> + strcpy(pkt.vm_name, policy.vm_name);
Can you use the internal rte_strlcpy() functions for security.
Add my tag after small change above has been applied to all instances of strcpy() in patchset.
For all in series:
Acked-by: Lee Daly <lee.daly at intel.com>
More information about the dev
mailing list