5 #ifndef _RTE_ETH_BOND_H_ 6 #define _RTE_ETH_BOND_H_ 28 #define BONDING_MODE_ROUND_ROBIN (0) 33 #define BONDING_MODE_ACTIVE_BACKUP (1) 41 #define BONDING_MODE_BALANCE (2) 48 #define BONDING_MODE_BROADCAST (3) 53 #define BONDING_MODE_8023AD (4) 71 #define BONDING_MODE_TLB (5) 77 #define BONDING_MODE_ALB (6) 88 #define BALANCE_XMIT_POLICY_LAYER2 (0) 90 #define BALANCE_XMIT_POLICY_LAYER23 (1) 92 #define BALANCE_XMIT_POLICY_LAYER34 (2) 232 struct rte_ether_addr *mac_addr);
int rte_eth_bond_member_remove(uint16_t bonding_port_id, uint16_t member_port_id)
int rte_eth_bond_member_add(uint16_t bonding_port_id, uint16_t member_port_id)
int rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id)
int rte_eth_bond_mac_address_set(uint16_t bonding_port_id, struct rte_ether_addr *mac_addr)
int rte_eth_bond_free(const char *name)
int rte_eth_bond_link_monitoring_get(uint16_t bonding_port_id)
int rte_eth_bond_active_members_get(uint16_t bonding_port_id, uint16_t members[], uint16_t len)
int rte_eth_bond_xmit_policy_get(uint16_t bonding_port_id)
int rte_eth_bond_mode_set(uint16_t bonding_port_id, uint8_t mode)
int rte_eth_bond_primary_set(uint16_t bonding_port_id, uint16_t member_port_id)
int rte_eth_bond_link_up_prop_delay_get(uint16_t bonding_port_id)
int rte_eth_bond_mac_address_reset(uint16_t bonding_port_id)
int rte_eth_bond_mode_get(uint16_t bonding_port_id)
int rte_eth_bond_members_get(uint16_t bonding_port_id, uint16_t members[], uint16_t len)
int rte_eth_bond_link_down_prop_delay_set(uint16_t bonding_port_id, uint32_t delay_ms)
int rte_eth_bond_link_monitoring_set(uint16_t bonding_port_id, uint32_t internal_ms)
int rte_eth_bond_link_down_prop_delay_get(uint16_t bonding_port_id)
int rte_eth_bond_xmit_policy_set(uint16_t bonding_port_id, uint8_t policy)
int rte_eth_bond_link_up_prop_delay_set(uint16_t bonding_port_id, uint32_t delay_ms)
int rte_eth_bond_primary_get(uint16_t bonding_port_id)