|
DPDK
1.7.1
|
#include <rte_eth_bond_private.h>
Data Fields | |
| uint8_t | mode |
| uint8_t | primary_port |
| uint8_t | current_primary_port |
| uint8_t | user_defined_primary_port |
| uint8_t | balance_xmit_policy |
| uint8_t | user_defined_mac |
| uint8_t | promiscuous_en |
| uint8_t | link_props_set |
| uint16_t | nb_rx_queues |
| uint16_t | nb_tx_queues |
| uint8_t | slave_count |
| uint8_t | active_slave_count |
| uint8_t | active_slaves [RTE_MAX_ETHPORTS] |
| uint8_t | slaves [RTE_MAX_ETHPORTS] |
| struct slave_conf | presisted_slaves_conf [RTE_MAX_ETHPORTS] |
Link Bonding PMD device private configuration Structure
| uint8_t active_slave_count |
Number of slaves
| uint8_t active_slaves[RTE_MAX_ETHPORTS] |
Active slave list
| uint8_t balance_xmit_policy |
Transmit policy - l2 / l23 / l34 for operation in balance mode
| uint8_t current_primary_port |
Primary Slave Port
| uint8_t link_props_set |
Bonded eth_dev link properties set
| uint8_t mode |
Link Bonding Mode
| uint16_t nb_rx_queues |
Total number of rx queues
| uint16_t nb_tx_queues |
Total number of tx queues
| struct slave_conf presisted_slaves_conf[RTE_MAX_ETHPORTS] |
Persisted configuration of slaves
| uint8_t primary_port |
Primary Slave Port
| uint8_t promiscuous_en |
Enabled/disable promiscuous mode on slave devices
| uint8_t slave_count |
Number of active slaves
| uint8_t slaves[RTE_MAX_ETHPORTS] |
Slave list
| uint8_t user_defined_mac |
Flag for whether MAC address is user defined or not
| uint8_t user_defined_primary_port |
Flag for whether primary port is user defined or not
1.8.1.2