Skip to contentSkip to conversation

eal: remove deprecated packed attribute

PATCH In review David Marchand 2 participants 4 messages Jul 27 – Aug 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 eal: remove deprecated packed attribute

This attribute was replaced in v25.03 by the couple __rte_packed_begin/__rte_packed_end for Windows support.

---
 doc/guides/rel_notes/release_26_11.rst |  1 +
 lib/eal/include/rte_common.h           | 13 -------------
 2 files changed, 1 insertion(+), 13 deletions(-)
doc/guides/rel_notes/release_26_11.rst +1 -0
index c8cc86295d..8fbbe50b16 100644
@@ -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``
lib/eal/include/rte_common.h +0 -13
index 79d2a0ab93..f872d3eabb 100644
@@ -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:
Signature · 1 line
2.54.0
#1 lore raw

PATCH 2/2 pci: remove deprecated catch-all flag

This flag got replaced by RTE_PCI_ID_ANY in v21.05.

---
 doc/guides/rel_notes/release_26_11.rst | 1 +
 lib/pci/rte_pci.h                      | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
doc/guides/rel_notes/release_26_11.rst +1 -0
index 8fbbe50b16..87c7e81bde 100644
@@ -74,6 +74,7 @@ Removed Items
   * 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``
+  * pci: ``PCI_ID_ANY``
   * rib: ``RTE_RIB6_IPV6_ADDR_SIZE``, ``get_msk_part``, ``rte_rib6_copy_addr``,
     ``rte_rib6_is_equal``
   * table: ``RTE_LPM_IPV6_ADDR_SIZE``
lib/pci/rte_pci.h +0 -2
index 9d04978a0f..a75b5327cc 100644
@@ -187,8 +187,6 @@ struct rte_pci_addr {
 
 /** Any PCI device identifier (vendor, device, ...) */
 #define RTE_PCI_ANY_ID (0xffff)
-/** @deprecated Replaced with RTE_PCI_ANY_ID */
-#define PCI_ANY_ID RTE_DEPRECATED(PCI_ANY_ID) RTE_PCI_ANY_ID
 #define RTE_CLASS_ANY_ID (0xffffff)
 
 /**
Signature · 1 line
2.54.0
#2 lore raw

Re: [PATCH 2/2] pci: remove deprecated catch-all flag

27/07/2026 09:02, David Marchand:

Quoted 1 line

This flag got replaced by RTE_PCI_ID_ANY in v21.05.

Thank you for cleaning the place :-)

lib/pci/rte_pci.h struct rte_pci_addr { · line 190

Quoted 5 lines

/** Any PCI device identifier (vendor, device, ...) */ #define RTE_PCI_ANY_ID (0xffff)

lib/pci/rte_pci.h +0 -2
-/** @deprecated Replaced with RTE_PCI_ANY_ID */
-#define PCI_ANY_ID RTE_DEPRECATED(PCI_ANY_ID) RTE_PCI_ANY_ID
 #define RTE_CLASS_ANY_ID (0xffffff)

Series Acked-by: Thomas Monjalon <[email protected]>

#3 lore raw

Re: [PATCH 2/2] pci: remove deprecated catch-all flag

Quoted 6 lines · Thomas Monjalon

27/07/2026 09:02, David Marchand:

Quoted 1 line

This flag got replaced by RTE_PCI_ID_ANY in v21.05.

Thank you for cleaning the place :-)

Quoted 7 lines

lib/pci/rte_pci.h struct rte_pci_addr { · line 190

Quoted 5 lines

/** Any PCI device identifier (vendor, device, ...) */ #define RTE_PCI_ANY_ID (0xffff)

lib/pci/rte_pci.h +0 -2
-/** @deprecated Replaced with RTE_PCI_ANY_ID */
-#define PCI_ANY_ID RTE_DEPRECATED(PCI_ANY_ID) RTE_PCI_ANY_ID
 #define RTE_CLASS_ANY_ID (0xffffff)

Series Acked-by: Thomas Monjalon <[email protected]>

Series applied, thanks.

Signature · 1 line
David Marchand