[PATCH v3] ethdev: mark old macros as deprecated

Xia, Chenbo chenbo.xia at intel.com
Fri Jan 14 07:45:32 CET 2022


> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yigit at intel.com>
> Sent: Wednesday, January 12, 2022 10:36 PM
> To: Thomas Monjalon <thomas at monjalon.net>; Andrew Rybchenko
> <andrew.rybchenko at oktetlabs.ru>; Hemant Agrawal <hemant.agrawal at nxp.com>;
> Tyler Retzlaff <roretzla at linux.microsoft.com>; Xia, Chenbo
> <chenbo.xia at intel.com>; Jerin Jacob <jerinj at marvell.com>
> Cc: dev at dpdk.org; Yigit, Ferruh <ferruh.yigit at intel.com>; Stephen Hemminger
> <stephen at networkplumber.org>
> Subject: [PATCH v3] ethdev: mark old macros as deprecated
> 
> 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>
> ---
> v2:
> * Release notes updated
> 
> v3:
> * Update 22.03 release note
> ---
>  doc/guides/rel_notes/release_22_03.rst |   3 +
>  lib/ethdev/rte_ethdev.h                | 474 +++++++++++++------------
>  2 files changed, 247 insertions(+), 230 deletions(-)

Acked-by: Chenbo Xia <chenbo.xia at intel.com>


More information about the dev mailing list