[PATCH v9 2/4] mbuf: remove rte marker fields
Stephen Hemminger
stephen at networkplumber.org
Tue Apr 2 22:45:49 CEST 2024
On Tue, 2 Apr 2024 13:08:48 -0700
Tyler Retzlaff <roretzla at linux.microsoft.com> wrote:
> RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
> RTE_MARKER fields from rte_mbuf struct.
>
> Maintain alignment of fields after removed cacheline1 marker by placing
> C11 alignas(RTE_CACHE_LINE_MIN_SIZE).
>
> Provide new rearm_data and rx_descriptor_fields1 fields in anonymous
> unions as single element arrays of with types matching the original
> markers to maintain API compatibility.
>
> This change breaks the API for cacheline{0,1} fields that have been
> removed from rte_mbuf but it does not break the ABI, to address the
> false positives of the removed (but 0 size fields) provide the minimum
> libabigail.abignore for type = rte_mbuf.
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Release note should be for 24.07 not 24.03.
More information about the dev
mailing list