[PATCH dpdk v2 14/16] rib6,fib6,lpm6: remove duplicate constants

Robin Jarry rjarry at redhat.com
Fri Oct 4 13:54:42 CEST 2024


Stephen Hemminger, Oct 04, 2024 at 01:12:
> On Tue,  1 Oct 2024 10:17:26 +0200
> Robin Jarry <rjarry at redhat.com> wrote:
>
>> Replace all address size and max depth macros with common ones from
>> rte_ip6.h.
>> 
>> Signed-off-by: Robin Jarry <rjarry at redhat.com>
>
> This looks good but since these #defines are in public headers you need
> to leave a copy (with __rte_deprecated) around for a couple of releases
> so that userspace is notified.

I'm not sure how to indicate that a macro is deprecated. Do I need to 
change it to a variable?



More information about the dev mailing list