[PATCH] net/bonding: rename bonded to bonding
Ferruh Yigit
ferruh.yigit at amd.com
Fri Jun 2 19:04:48 CEST 2023
On 5/24/2023 8:12 AM, Chaoyong He wrote:
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index 85439e3a41..e717079dd0 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -2036,12 +2036,13 @@ struct rte_eth_dev_owner {
> /** Device supports link state interrupt */
> #define RTE_ETH_DEV_INTR_LSC RTE_BIT32(1)
> /** Device is a bonded member */
> -#define RTE_ETH_DEV_BONDED_MEMBER RTE_BIT32(2)
> +#define RTE_ETH_DEV_BONDING_MEMBER RTE_BIT32(2)
> #define RTE_ETH_DEV_BONDED_SLAVE \
>
Since this is macro in public header, it needs deprecation notice to
rename it, need to send a deprecation notice a release for this release.
Or it is possible to add an alias to existing macro and keep both.
More information about the dev
mailing list