Re: [PATCH V4 7/9] telemetry: support adding integer value as hexadecimal

2022-12-14 Thread lihuisong (C)
在 2022/12/14 15:28, Morten Brørup 写道: From: lihuisong (C) [mailto:lihuis...@huawei.com] Sent: Wednesday, 14 December 2022 03.44 在 2022/12/14 1:09, Bruce Richardson 写道: On Tue, Dec 13, 2022 at 06:15:10PM +0800, Huisong Li wrote: Sometimes displaying a unsigned integer value as hexadecimal enc

RE: [PATCH V4 7/9] telemetry: support adding integer value as hexadecimal

2022-12-13 Thread Morten Brørup
> From: lihuisong (C) [mailto:lihuis...@huawei.com] > Sent: Wednesday, 14 December 2022 03.44 > > 在 2022/12/14 1:09, Bruce Richardson 写道: > > On Tue, Dec 13, 2022 at 06:15:10PM +0800, Huisong Li wrote: > >> Sometimes displaying a unsigned integer value as hexadecimal encoded > style > >> is more e

Re: [PATCH V4 7/9] telemetry: support adding integer value as hexadecimal

2022-12-13 Thread lihuisong (C)
在 2022/12/14 1:09, Bruce Richardson 写道: On Tue, Dec 13, 2022 at 06:15:10PM +0800, Huisong Li wrote: Sometimes displaying a unsigned integer value as hexadecimal encoded style is more expected for human consumption, such as, offload capability and device flag. This patch introduces two APIs to

Re: [PATCH V4 7/9] telemetry: support adding integer value as hexadecimal

2022-12-13 Thread Bruce Richardson
On Tue, Dec 13, 2022 at 06:15:10PM +0800, Huisong Li wrote: > Sometimes displaying a unsigned integer value as hexadecimal encoded style > is more expected for human consumption, such as, offload capability and > device flag. This patch introduces two APIs to add unsigned integer (can be > one of u

[PATCH V4 7/9] telemetry: support adding integer value as hexadecimal

2022-12-13 Thread Huisong Li
Sometimes displaying a unsigned integer value as hexadecimal encoded style is more expected for human consumption, such as, offload capability and device flag. This patch introduces two APIs to add unsigned integer (can be one of uint8_t, uint16_t, uint32_t and uint64_t type) value as hexadecimal e