Re: [PATCH V4 6/9] telemetry: refactor mapping between value and array type

2022-12-13 Thread lihuisong (C)
在 2022/12/14 0:57, Bruce Richardson 写道: On Tue, Dec 13, 2022 at 06:15:09PM +0800, Huisong Li wrote: Currently, use rte_tel_value_type as index of array to find the tel_container_types in rte_tel_data_start_array. It's not good for maintenance. Fixes: ed1bfad7d384 ("telemetry: add functions fo

Re: [PATCH V4 6/9] telemetry: refactor mapping between value and array type

2022-12-13 Thread Bruce Richardson
On Tue, Dec 13, 2022 at 06:15:09PM +0800, Huisong Li wrote: > Currently, use rte_tel_value_type as index of array to find the > tel_container_types in rte_tel_data_start_array. It's not good > for maintenance. > > Fixes: ed1bfad7d384 ("telemetry: add functions for returning callback data") > Cc: s

[PATCH V4 6/9] telemetry: refactor mapping between value and array type

2022-12-13 Thread Huisong Li
Currently, use rte_tel_value_type as index of array to find the tel_container_types in rte_tel_data_start_array. It's not good for maintenance. Fixes: ed1bfad7d384 ("telemetry: add functions for returning callback data") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Acked-by: Morten Brørup Acke