[dpdk-dev] [PATCH v1 5/7] examples/power: add json string handling

Hunt, David david.hunt at intel.com
Wed Sep 12 12:54:54 CEST 2018


Hi Stephen,


On 30/8/2018 6:00 PM, Stephen Hemminger wrote:
> On Thu, 30 Aug 2018 11:54:20 +0100
> David Hunt <david.hunt at intel.com> wrote:
>
>> Add JSON string handling to vm_power_manager for JSON strings received
>> through the fifo. The format of the JSON strings are detailed in the
>> next patch, the vm_power_manager user guide documentation updates.
>>
>> This patch introduces a new dependency on Jansson, a C library for
>> encoding, decoding and manipulating JSON data. To compile the sample app
>> you now need to have installed libjansson4 and libjansson-dev (these may
>> be named slightly differently depending on your Operating System)
>>
>> Signed-off-by: David Hunt <david.hunt at intel.com>
> If you introduce new dependency then it has to be in documentation,
> and off by default in Makefile, and checked in meson build.

Sure, I've added a check in the Makefile for the existence of the 
library, and it will build in the
JSON handling if present, otherwise warn the user and build without.

Thanks,
Dave.


More information about the dev mailing list