|
Revision tags: v24.07-rc2, v24.07-rc1, v24.03, v24.03-rc4, v24.03-rc3, v24.03-rc2, v24.03-rc1, v23.11, v23.11-rc4, v23.11-rc3, v23.11-rc2, v23.11-rc1 |
|
| #
51cbeede |
| 31-Jul-2023 |
David Marchand <david.marchand@redhat.com> |
telemetry: remove v23 ABI compatibility
v23.11 is a ABI breaking release, remove compatibility code for the previous major ABI version.
Signed-off-by: David Marchand <david.marchand@redhat.com> Ack
telemetry: remove v23 ABI compatibility
v23.11 is a ABI breaking release, remove compatibility code for the previous major ABI version.
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v23.07, v23.07-rc4, v23.07-rc3, v23.07-rc2, v23.07-rc1 |
|
| #
9f5c7170 |
| 05-Apr-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
telemetry: remove non-portable array initialization
Use of ranges in designated initialization are a non-standard gcc extension.
Only initialize '_' and '/' elements of the array and filter tests o
telemetry: remove non-portable array initialization
Use of ranges in designated initialization are a non-standard gcc extension.
Only initialize '_' and '/' elements of the array and filter tests of characters through name with standard C isalnum before checking the array.
Suggested-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru> Suggested-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v23.03, v23.03-rc4, v23.03-rc3, v23.03-rc2, v23.03-rc1 |
|
| #
4dd4b432 |
| 08-Feb-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: rework code to avoid compiler warnings
When printing values as hex strings, the telemetry code temporarily disabled warnings about non-literal format strings. This was because the actual
telemetry: rework code to avoid compiler warnings
When printing values as hex strings, the telemetry code temporarily disabled warnings about non-literal format strings. This was because the actual format string was built-up programmatically to ensure the output was of the desired bitwidth.
However, this code can be reworked and shortened by taking advantage of the "*" printf flag, which is used to specify that the output width is given by a separate printf parameter. This allows the format to be a literal string in all cases, and also allows the code in the function to be shortened considerably.
Note: the type of the width should be an "int" variable, which is why this patch changes the type of the existing variable. Also, while we could shorten the format string by using the "#" flag in place of an explicit "0x", this would make the code more confusing because it would mean that the "0x" would be included in the specified with, forcing us to add 2 to the existing computed width.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Keith Wiles <keith.wiles@intel.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com> Tested-by: Huisong Li <lihuisong@huawei.com>
show more ...
|
| #
8e639c7c |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: use 64-bit signed values in API
While the unsigned values added to telemetry dicts/arrays were up to 64-bits in size, the signed values were only up to 32-bits. We can standardize the API
telemetry: use 64-bit signed values in API
While the unsigned values added to telemetry dicts/arrays were up to 64-bits in size, the signed values were only up to 32-bits. We can 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@smartsharesystems.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
| #
cc4f33d9 |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: add uint type as alias for u64
To match the "_int" suffix for telemetry data functions taking signed values, we can add new functions with the "_uint" suffix for unsigned ones. While late
telemetry: add uint type as alias for u64
To match the "_int" suffix for telemetry data functions taking signed values, we can add new functions with the "_uint" suffix for unsigned ones. While later patches will deprecate the old public functions, for now we can just add the new functions as aliases or duplicates of the older ones with the "u64" suffix.
Internal functions can be directly renamed, without any need for aliasing or deprecation.
Suggested-by: Morten Brørup <mb@smartsharesystems.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
| #
2d2c55e4 |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: rename unsigned 64-bit enum value to uint
For telemetry data, rather than having unsigned 64-bit values and signed 32-bit values, we want to just have unsigned and signed values, each sto
telemetry: rename unsigned 64-bit enum value to uint
For telemetry data, rather than having unsigned 64-bit values and signed 32-bit values, we want to just have unsigned and signed values, each stored with the max bit-width i.e. 64-bits. To that end, we rename the U64 enum entry to "UINT" to have a more generic name
For backward API-level compatibility, we can use a macro to alias the old name to the new.
Suggested-by: Morten Brørup <mb@smartsharesystems.com> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
| #
5ebf6e0f |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: make array initialization more robust
Rather than relying on a specific ordering of elements in the array matching that of elements in the enum definition, we can explicitly mark each arr
telemetry: make array initialization more robust
Rather than relying on a specific ordering of elements in the array matching that of elements in the enum definition, we can explicitly mark each array entry using the equivalent enum value as an index.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
| #
5a36d531 |
| 12-Jan-2023 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: remove RTE prefix from internal enums
To better distinguish which values are public and which are internal remove the "RTE_" prefix off the internal enum defining the container types.
Si
telemetry: remove RTE prefix from internal enums
To better distinguish which values are public and which are internal remove the "RTE_" prefix off the internal enum defining the container types.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
| #
82c33481 |
| 19-Dec-2022 |
Huisong Li <lihuisong@huawei.com> |
telemetry: support adding integer as hexadecimal
Sometimes displaying an unsigned integer value as hexadecimal encoded style is more expected for human consumption, such as, offload capability and d
telemetry: support adding integer as hexadecimal
Sometimes displaying an 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 value as hexadecimal encoded string to array or dictionary. And user can choose whether the stored value is padded to the specified width.
Signed-off-by: Huisong Li <lihuisong@huawei.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v22.11, v22.11-rc4, v22.11-rc3, v22.11-rc2, v22.11-rc1 |
|
| #
2537fb0c |
| 09-Sep-2022 |
Bruce Richardson <bruce.richardson@intel.com> |
telemetry: limit characters allowed in dictionary names
To save issues with encoding the names of values in dicts, we limit the allowed names to a subset of character values. This list of allowed ch
telemetry: limit characters allowed in dictionary names
To save issues with encoding the names of values in dicts, we limit the allowed names to a subset of character values. This list of allowed characters can be expanded as necessary in future.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ciara Power <ciara.power@intel.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
| #
72b452c5 |
| 27-Aug-2022 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directl
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directly from the files that need them.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
|
Revision tags: v22.07, v22.07-rc4, v22.07-rc3, v22.07-rc2, v22.07-rc1, v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
d2671e64 |
| 14-Sep-2021 |
Radu Nicolau <radu.nicolau@intel.com> |
telemetry: support dict of dicts
Add support for dicts of dicts to telemetry library. Increase the max string size to 128.
Signed-off-by: Declan Doherty <declan.doherty@intel.com> Signed-off-by: Ra
telemetry: support dict of dicts
Add support for dicts of dicts to telemetry library. Increase the max string size to 128.
Signed-off-by: Declan Doherty <declan.doherty@intel.com> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
99a2dd95 |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also m
lib: remove librte_ prefix from directory names
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal'
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|