Re: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-13 Thread Bruce Richardson
On Mon, Dec 12, 2022 at 12:16:07PM +, Bruce Richardson wrote: > On Mon, Dec 12, 2022 at 01:03:52PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Monday, 12 December 2022 12.21 > > > > > > On Mon, Dec 12, 2022 at 12:02:32PM +0100, Morte

RE: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-13 Thread Morten Brørup
uawei.com; huangda...@huawei.com; fengcheng...@huawei.com > Subject: Re: [PATCH V3 00/11] telemetry: add u32 value type and hex > integer string API > > On Mon, Dec 12, 2022 at 01:03:52PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] >

Re: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread lihuisong (C)
在 2022/12/12 20:03, Morten Brørup 写道: From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: Monday, 12 December 2022 12.21 On Mon, Dec 12, 2022 at 12:02:32PM +0100, Morten Brørup wrote: From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: Monday, 12 December 2022 11.32

Re: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread Bruce Richardson
On Mon, Dec 12, 2022 at 01:03:52PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 12 December 2022 12.21 > > > > On Mon, Dec 12, 2022 at 12:02:32PM +0100, Morten Brørup wrote: > > > > From: Bruce Richardson [mailto:bruce.richard...@inte

RE: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 12 December 2022 12.21 > > On Mon, Dec 12, 2022 at 12:02:32PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Monday, 12 December 2022 11.32 > > > > > > On Mon, Dec

Re: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread Bruce Richardson
On Mon, Dec 12, 2022 at 12:02:32PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Monday, 12 December 2022 11.32 > > > > On Mon, Dec 12, 2022 at 02:42:55PM +0800, Huisong Li wrote: > > > Some lib telemetry interfaces add the 'u32' and 'u64' dat

RE: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 12 December 2022 11.32 > > On Mon, Dec 12, 2022 at 02:42:55PM +0800, Huisong Li wrote: > > Some lib telemetry interfaces add the 'u32' and 'u64' data by the > > rte_tel_data_add_dict/array_int API. This may cause data con

Re: [PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-12 Thread Bruce Richardson
On Mon, Dec 12, 2022 at 02:42:55PM +0800, Huisong Li wrote: > Some lib telemetry interfaces add the 'u32' and 'u64' data by the > rte_tel_data_add_dict/array_int API. This may cause data conversion error > or data truncation. > > The 'u32' data can not be assigned to signed 32-bit integer. However

[PATCH V3 00/11] telemetry: add u32 value type and hex integer string API

2022-12-11 Thread Huisong Li
Some lib telemetry interfaces add the 'u32' and 'u64' data by the rte_tel_data_add_dict/array_int API. This may cause data conversion error or data truncation. The 'u32' data can not be assigned to signed 32-bit integer. However, assigning to u64 is very wasteful, after all, the buffer capacity of