34 #ifndef _RTE_ETH_BOND_H_
35 #define _RTE_ETH_BOND_H_
57 #define BONDING_MODE_ROUND_ROBIN (0)
61 #define BONDING_MODE_ACTIVE_BACKUP (1)
68 #define BONDING_MODE_BALANCE (2)
74 #define BONDING_MODE_BROADCAST (3)
78 #define BONDING_MODE_8023AD (4)
97 #define BONDING_MODE_TLB (5)
102 #define BONDING_MODE_ALB (6)
113 #define BALANCE_XMIT_POLICY_LAYER2 (0)
115 #define BALANCE_XMIT_POLICY_LAYER23 (1)
117 #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)