Re: [PATCH dpdk v2] telemetry: fix adding dicts in container arrays

fengchengwen
2026-01-19T01:21:33Z

Acked-by: Chengwen Feng <fengchengwen@huawei.com>

On 1/8/2026 6:50 PM, Robin Jarry wrote:
> Currently, adding TEL_DICT containers in TEL_ARRAY_CONTAINER containers
> is not supported by rte_tel_data_add_array_container. It wrongfully
> returns -EINVAL where it should allow it.
>
> This is supported by the JSON formatter.
>
> Allow the same value types than rte_tel_data_add_dict_container().
>
> Add test case to verify it works as expected.
>
> Fixes: c933bb5177ca ("telemetry: support array values in data object")
> Cc: stable@dpdk.org
>
> Signed-off-by: Robin Jarry <rjarry@redhat.com>