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

Stephen Hemminger stephen at networkplumber.org
Wed Aug 16 16:42:27 CEST 2023


On Wed, 16 Aug 2023 14:27:10 +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 APIs were 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.
> 
> The data structure ``struct rte_eth_bond_8023ad_slave_info`` was
> renamed to ``struct rte_eth_bond_8023ad_member_info``
> 
> Signed-off-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: James Hershaw <james.hershaw at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> Acked-by: Niklas Söderlund <niklas.soderlund at corigine.com>

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list