[PATCH v3 9/9] telemetry: change public API to use 64-bit signed values
Thomas Monjalon
thomas at monjalon.net
Sun Feb 5 23:55:04 CET 2023
12/01/2023 18:41, Bruce Richardson:
> While the unsigned values added to telemetry dicts/arrays were up to
> 64-bits in size, the sized values were only up to 32-bits. We can
sized -> signed
> standardize the API by having both int and uint functions take 64-bit
> values. For ABI compatibility, we use function versioning to ensure
> older binaries can still use the older functions taking a 32-bit
> parameter.
>
> Suggested-by: Morten Brørup <mb at smartsharesystems.com>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Morten Brørup <mb at smartsharesystems.com>
> Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
[...]
> --- a/lib/telemetry/version.map
> +++ b/lib/telemetry/version.map
> +DPDK_24 {
> + global:
> +
> + rte_tel_data_add_array_int;
> + rte_tel_data_add_dict_int;
> +} DPDK_23;
For the record, these are the versioned symbols.
More information about the dev
mailing list