[PATCH 1/2] eal: remove deprecated packed attribute
David Marchand
david.marchand at redhat.com
Mon Jul 27 09:02:08 CEST 2026
This attribute was replaced in v25.03 by the couple
__rte_packed_begin/__rte_packed_end for Windows support.
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
doc/guides/rel_notes/release_26_11.rst | 1 +
lib/eal/include/rte_common.h | 13 -------------
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/doc/guides/rel_notes/release_26_11.rst b/doc/guides/rel_notes/release_26_11.rst
index c8cc86295d..8fbbe50b16 100644
--- a/doc/guides/rel_notes/release_26_11.rst
+++ b/doc/guides/rel_notes/release_26_11.rst
@@ -70,6 +70,7 @@ Removed Items
* Removed deprecated symbols:
+ * eal: ``__rte_packed``
* fib: ``RTE_FIB6_IPV6_ADDR_SIZE``, ``RTE_FIB6_MAXDEPTH``
* lpm: ``RTE_LPM6_IPV6_ADDR_SIZE``, ``RTE_LPM6_MAX_DEPTH``
* net: ``RTE_IP_ICMP_ECHO_REPLY``, ``RTE_IP_ICMP_ECHO_REQUEST``
diff --git a/lib/eal/include/rte_common.h b/lib/eal/include/rte_common.h
index 79d2a0ab93..f872d3eabb 100644
--- a/lib/eal/include/rte_common.h
+++ b/lib/eal/include/rte_common.h
@@ -131,19 +131,6 @@ typedef uint32_t unaligned_uint32_t;
typedef uint16_t unaligned_uint16_t;
#endif
-/**
- * @deprecated
- * @see __rte_packed_begin
- * @see __rte_packed_end
- *
- * Force a structure to be packed
- */
-#ifdef RTE_TOOLCHAIN_MSVC
-#define __rte_packed RTE_DEPRECATED(__rte_packed)
-#else
-#define __rte_packed (RTE_DEPRECATED(__rte_packed) __attribute__((__packed__)))
-#endif
-
/**
* Force a structure to be packed
* Usage:
--
2.54.0
More information about the dev
mailing list