5 #ifndef _RTE_ETH_BOND_H_
6 #define _RTE_ETH_BOND_H_
28 #define BONDING_MODE_ROUND_ROBIN (0)
32 #define BONDING_MODE_ACTIVE_BACKUP (1)
39 #define BONDING_MODE_BALANCE (2)
45 #define BONDING_MODE_BROADCAST (3)
49 #define BONDING_MODE_8023AD (4)
68 #define BONDING_MODE_TLB (5)
73 #define BONDING_MODE_ALB (6)
84 #define BALANCE_XMIT_POLICY_LAYER2 (0)
86 #define BALANCE_XMIT_POLICY_LAYER23 (1)
88 #define BALANCE_XMIT_POLICY_LAYER34 (2)
int rte_eth_bond_slave_remove(uint16_t bonded_port_id, uint16_t slave_port_id)
int rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t slave_port_id)
int rte_eth_bond_create(const char *name, uint8_t mode, uint8_t socket_id)
int rte_eth_bond_mac_address_reset(uint16_t bonded_port_id)
int rte_eth_bond_free(const char *name)
int rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[], uint16_t len)
int rte_eth_bond_mac_address_set(uint16_t bonded_port_id, struct ether_addr *mac_addr)
int rte_eth_bond_link_monitoring_set(uint16_t bonded_port_id, uint32_t internal_ms)
int rte_eth_bond_link_down_prop_delay_set(uint16_t bonded_port_id, uint32_t delay_ms)
int rte_eth_bond_link_up_prop_delay_set(uint16_t bonded_port_id, uint32_t delay_ms)
int rte_eth_bond_active_slaves_get(uint16_t bonded_port_id, uint16_t slaves[], uint16_t len)
int rte_eth_bond_primary_set(uint16_t bonded_port_id, uint16_t slave_port_id)
int rte_eth_bond_mode_get(uint16_t bonded_port_id)
int rte_eth_bond_mode_set(uint16_t bonded_port_id, uint8_t mode)
int rte_eth_bond_xmit_policy_get(uint16_t bonded_port_id)
int rte_eth_bond_link_down_prop_delay_get(uint16_t bonded_port_id)
int rte_eth_bond_primary_get(uint16_t bonded_port_id)
int rte_eth_bond_link_monitoring_get(uint16_t bonded_port_id)
int rte_eth_bond_link_up_prop_delay_get(uint16_t bonded_port_id)
int rte_eth_bond_xmit_policy_set(uint16_t bonded_port_id, uint8_t policy)