[PATCH v10 0/4] remove use of RTE_MARKER fields in libraries
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Apr 3 19:53:32 CEST 2024
As per techboard meeting 2024/03/20 adopt hybrid proposal of adapting
descriptor fields and removing cachline fields.
RTE_MARKER typedefs are a GCC extension unsupported by MSVC. Remove
RTE_MARKER fields.
For cacheline{0,1} fields remove fields entirely and use inline
functions to prefetch.
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.
Note: diff is easier viewed with -b due to additional nesting from
unions / structs that have been introduced.
v10:
* move removal notices in in release notes from 24.03 to 24.07
v9:
* provide narrowest possible libabigail.abignore to suppress
removal of fields that were agreed are not actual abi changes.
v8:
* rx_descriptor_fields1 array is now constexpr sized to
24 / sizeof(void *) so that the array encompasses fields
accessed via the array.
* add a comment to rx_descriptor_fields1 array site noting
that void * type of elements is retained for compatibility
with existing drivers.
* clean up comments of fields in rte_mbuf to be before the
field they apply to instead of after.
* duplicate alignas(RTE_CACHE_LINE_MIN_SIZE) into both legs of
conditional compile for first field of cacheline 1 instead of
once before conditional compile block.
v7:
* complete re-write of series, previous versions not noted. all
reviewed-by and acked-by tags (if any) were removed.
Tyler Retzlaff (4):
net/i40e: use inline prefetch function
mbuf: remove rte marker fields
security: remove rte marker fields
cryptodev: remove rte marker fields
devtools/libabigail.abignore | 6 +
doc/guides/rel_notes/release_24_07.rst | 9 ++
drivers/net/i40e/i40e_rxtx_vec_avx512.c | 2 +-
lib/cryptodev/cryptodev_pmd.h | 5 +-
lib/mbuf/rte_mbuf.h | 4 +-
lib/mbuf/rte_mbuf_core.h | 200 +++++++++++++++++---------------
lib/security/rte_security_driver.h | 5 +-
7 files changed, 128 insertions(+), 103 deletions(-)
--
1.8.3.1
More information about the dev
mailing list