[PATCH v15 2/3] drivers/common: add diagnostics macros to make code portable

2025-01-18 Thread Andre Muezerie
It was a common pattern to have "GCC diagnostic ignored" pragmas sprinkled over the code and only activate these pragmas for certain compilers (gcc and clang). Clang supports GCC's pragma for compatibility with existing source code, so #pragma GCC diagnostic and #pragma clang diagnostic are synonym

[PATCH v15 1/3] eal: add diagnostics macros to make code portable

2025-01-18 Thread Andre Muezerie
It was a common pattern to have "GCC diagnostic ignored" pragmas sprinkled over the code and only activate these pragmas for certain compilers (gcc and clang). Clang supports GCC's pragma for compatibility with existing source code, so #pragma GCC diagnostic and #pragma clang diagnostic are synonym

[PATCH v15 3/3] drivers/net: add diagnostics macros to make code portable

2025-01-18 Thread Andre Muezerie
It was a common pattern to have "GCC diagnostic ignored" pragmas sprinkled over the code and only activate these pragmas for certain compilers (gcc and clang). Clang supports GCC's pragma for compatibility with existing source code, so #pragma GCC diagnostic and #pragma clang diagnostic are synonym

[PATCH v15 0/3] add diagnostics macros to make code portable

2025-01-18 Thread Andre Muezerie
v15: * Fixed a comment in rte_common.h to make Doxygen happy. * Fixed a typo (extra comma). * Added missing RTE_PTR_UNQUAL needed for ARM64. v14: * Renamed RTE_PTR_DROP_QUALIFIERS into RTE_PTR_UNQUAL to more resemble C23 typeof_unqual. * Added macro RTE_CAST_PTR to make the cast more reada

Re: [PATCH v5 01/15] net/xsc: add xsc PMD framework

2025-01-18 Thread WanRenyong
On 2025/1/18 2:49, Stephen Hemminger wrote: > On Tue, 07 Jan 2025 10:49:40 +0800 > "WanRenyong" wrote: > >> diff --git a/doc/guides/rel_notes/release_25_03.rst >> b/doc/guides/rel_notes/release_25_03.rst >> index 426dfcd982..6f766add72 100644 >> --- a/doc/guides/rel_notes/release_25_03.rst >> +++