Re: [PATCH dpdk] lpm6, fib6, rib6, table: remove deprecated functions and macros
David Marchand <[email protected]> Fri, 24 Jul 2026 13:25:26 +0200
| Newsgroups | org.dpdk.dev |
|---|---|
| Message-ID | <CAJFAV8yMuRT4U2J+4QbyxMySjr2Y+MRp_yBQfz3A1fSr1QC1gw@mail.gmail.com> |
On Fri, 24 Jul 2026 at 10:49, Robin Jarry <[email protected]> wrote: > > These function were marked as deprecated in DPDK 24.11. Remove them > completely. > > Signed-off-by: Robin Jarry <[email protected]> > --- > doc/guides/rel_notes/release_26_11.rst | 11 ++++ > lib/fib/rte_fib6.h | 4 -- > lib/lpm/rte_lpm6.h | 3 -- > lib/rib/rte_rib6.h | 73 -------------------------- > lib/table/rte_table_lpm_ipv6.h | 2 - Thanks for the quick patch. rte_fib6.h, rte_lpm6.h and rte_table_lpm_ipv6.h don't need to include rte_common.h anymore. It had been added when deprecating those macros/functions. I think you missed RTE_IP_ICMP_ECHO_REPLY and RTE_IP_ICMP_ECHO_REQUEST, from 87bde5ae6873 ("net: add more ICMP types and codes"). > 5 files changed, 11 insertions(+), 82 deletions(-) > > diff --git a/doc/guides/rel_notes/release_26_11.rst b/doc/guides/rel_notes/release_26_11.rst > index 938617ca7542..fb9cde591695 100644 > --- a/doc/guides/rel_notes/release_26_11.rst > +++ b/doc/guides/rel_notes/release_26_11.rst > @@ -68,6 +68,17 @@ Removed Items > Also, make sure to start the actual text at the margin. > ======================================================= > > +* Deprecated functions removed: > + > + - ``RTE_FIB6_IPV6_ADDR_SIZE`` > + - ``RTE_FIB6_MAXDEPTH`` > + - ``RTE_LPM6_IPV6_ADDR_SIZE`` > + - ``RTE_LPM6_MAX_DEPTH`` > + - ``RTE_LPM_IPV6_ADDR_SIZE`` > + - ``RTE_RIB6_IPV6_ADDR_SIZE`` > + - ``get_msk_part`` > + - ``rte_rib6_copy_addr`` > + - ``rte_rib6_is_equal`` Yes good thing to add a generic entry, we have other removals that will end up here. I would sort those by libraries, as I intend to reuse this entry for PCI cleanup. So something like: @@ -68,6 +68,14 @@ Removed Items Also, make sure to start the actual text at the margin. ======================================================= +* Removed deprecated macros and functions: + + * fib: ``RTE_FIB6_IPV6_ADDR_SIZE``, ``RTE_FIB6_MAXDEPTH``, + * lpm: ``RTE_LPM6_IPV6_ADDR_SIZE``, ``RTE_LPM6_MAX_DEPTH``, + * rib: ``RTE_RIB6_IPV6_ADDR_SIZE``, ``get_msk_part``, ``rte_rib6_copy_addr``, + ``rte_rib6_is_equal`` + * table: ``RTE_LPM_IPV6_ADDR_SIZE``, + API Changes ----------- -- David Marchand