[dpdk-dev] [PATCH v2] ethdev: mark old macros as deprecated
Ferruh Yigit
ferruh.yigit at intel.com
Thu Nov 4 12:03:08 CET 2021
On 11/3/2021 10:48 PM, Ferruh Yigit wrote:
> Old macros kept for backward compatibility, but this cause old macro
> usage to sneak in silently.
>
> Marking old macros as deprecated. Downside is this will cause some noise
> for applications that are using old macros.
>
> Fixes: 295968d17407 ("ethdev: add namespace")
>
> Signed-off-by: Ferruh Yigit<ferruh.yigit at intel.com>
> Acked-by: Stephen Hemminger<stephen at networkplumber.org>
Hi Thomas, Andrew,
What do you think about marking old macros as deprecated?
This will cause warning in application code that is using
old macros, but shouldn't fail their build (unless -Werror
is issued).
More information about the dev
mailing list