[PATCH v4] net/bonding: replace master/slave to main/member

Ferruh Yigit ferruh.yigit at amd.com
Fri Jun 2 17:05:20 CEST 2023


On 5/18/2023 4:39 PM, Stephen Hemminger wrote:
> On Thu, 18 May 2023 16:44:58 +0800
> Chaoyong He <chaoyong.he at corigine.com> wrote:
> 
>> From: Long Wu <long.wu at corigine.com>
>>
>> This patch replaces the usage of the word 'master/slave' with more
>> appropriate word 'main/member' in bonding PMD as well as in its docs
>> and examples. Also the test app and testpmd were modified to use the
>> new wording.
>>
>> The bonding PMD's public API was modified according to the changes
>> in word:
>> rte_eth_bond_8023ad_slave_info is now called
>> rte_eth_bond_8023ad_member_info,
>> rte_eth_bond_active_slaves_get is now called
>> rte_eth_bond_active_members_get,
>> rte_eth_bond_slave_add is now called
>> rte_eth_bond_member_add,
>> rte_eth_bond_slave_remove is now called
>> rte_eth_bond_member_remove,
>> rte_eth_bond_slaves_get is now called
>> rte_eth_bond_members_get.
>>
>> Also the macro RTE_ETH_DEV_BONDED_SLAVE was renamed to
>> RTE_ETH_DEV_BONDED_MEMBER.
>>
>> Mark the old visible API's as deprecated and remove
>> from the ABI.
>>
>> Signed-off-by: Long Wu <long.wu at corigine.com>
>> Acked-by: Niklas Söderlund <niklas.soderlund at corigine.com>
>> Reviewed-by: James Hershaw <james.hershaw at corigine.com>
> 
> Since this will be ABI change it will have to wait for 23.11 release.
> Could you make a deprecation notice now, to foreshadow that change?
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
>

For reference, deprecation notice is:
https://patches.dpdk.org/project/dpdk/patch/20230519063334.1645933-1-chaoyong.he@corigine.com/


Deferring the patch to v23.11 release.


More information about the dev mailing list