On Thu, Mar 13, 2025 at 09:51:43AM -0700, Andre Muezerie wrote: > v4: > - Added parameter "unit", which allows rte_size_to_str() to be smarter > about the need to append a space after the number. This keeps the > function easy to use and avoids the need for complex explanations > about the space that could be needed between number and multiple/unit. > - Changed the return type of rte_size_to_str() to be buf, or NULL on > error, allowing the function to be inlined. > - Removed a line wrap. > > v3: > - Added rte_size_to_str to version.map (marked experimental for 25.07) so > that symbol gets exported when building with -Ddefault_library=shared > - Added sample outputs > - Added a space between the number and the postfix (if a postfix is > present) > > Andre Muezerie (3): > eal: add function rte_size_to_str > hash_multiwriter_autotest: fix printf parameters > hash_readwrite_autotest: fix printf parameters > Series-Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- Re: [PATCH v3 1/3] eal: add function rte_si... Mattias Rönnblom
- Re: [PATCH v3 1/3] eal: add function rte_size_t... Bruce Richardson
- Re: [PATCH v3 1/3] eal: add function rte_si... Andre Muezerie
- [PATCH v3 3/3] hash_readwrite_autotest: fix printf ... Andre Muezerie
- [PATCH v3 2/3] hash_multiwriter_autotest: fix print... Andre Muezerie
- [PATCH v4 0/3] fix how large numbers are printed by hash... Andre Muezerie
- [PATCH v4 3/3] hash_readwrite_autotest: fix printf ... Andre Muezerie
- [PATCH v4 2/3] hash_multiwriter_autotest: fix print... Andre Muezerie
- [PATCH v4 1/3] eal: add function rte_size_to_str Andre Muezerie
- RE: [PATCH v4 1/3] eal: add function rte_size_t... Morten Brørup
- Re: [PATCH v4 0/3] fix how large numbers are printe... Bruce Richardson
- [PATCH v5 0/3] fix how large numbers are printed by hash... Andre Muezerie
- [PATCH v5 2/3] hash_multiwriter_autotest: fix print... Andre Muezerie
- [PATCH v5 1/3] eal: add function rte_size_to_str Andre Muezerie
- [PATCH v5 3/3] hash_readwrite_autotest: fix printf ... Andre Muezerie
- Re: [PATCH v5 0/3] fix how large numbers are printe... David Marchand