DPDK  16.04.0
Data Fields
bond_dev_private Struct Reference

#include <rte_eth_bond_private.h>

Data Fields

uint8_t port_id
uint8_t mode
uint8_t primary_port
uint8_t current_primary_port
uint8_t user_defined_primary_port
uint8_t balance_xmit_policy
xmit_hash_t xmit_hash
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 active_slave_count
uint8_t active_slaves [RTE_MAX_ETHPORTS]
uint8_t slave_count
struct bond_slave_details slaves [RTE_MAX_ETHPORTS]
uint32_t tx_offload_capa
uint64_t flow_type_rss_offloads
uint8_t rss_key [52]
uint8_t rss_key_len

Detailed Description

Link Bonding PMD device private configuration Structure

Definition at line 114 of file rte_eth_bond_private.h.

Field Documentation

uint8_t port_id

Port Id of Bonded Port

Definition at line 115 of file rte_eth_bond_private.h.

uint8_t mode

Link Bonding Mode

Definition at line 116 of file rte_eth_bond_private.h.

uint8_t primary_port

Primary Slave Port

Definition at line 120 of file rte_eth_bond_private.h.

uint8_t current_primary_port

Primary Slave Port

Definition at line 121 of file rte_eth_bond_private.h.

uint8_t user_defined_primary_port

Flag for whether primary port is user defined or not

Definition at line 123 of file rte_eth_bond_private.h.

uint8_t balance_xmit_policy

Transmit policy - l2 / l23 / l34 for operation in balance mode

Definition at line 126 of file rte_eth_bond_private.h.

xmit_hash_t xmit_hash

Transmit policy hash function

Definition at line 128 of file rte_eth_bond_private.h.

uint8_t user_defined_mac

Flag for whether MAC address is user defined or not

Definition at line 131 of file rte_eth_bond_private.h.

uint8_t promiscuous_en

Enabled/disable promiscuous mode on bonding device

Definition at line 133 of file rte_eth_bond_private.h.

uint8_t link_props_set

flag to denote if the link properties are set

Definition at line 135 of file rte_eth_bond_private.h.

uint16_t nb_rx_queues

Total number of rx queues

Definition at line 143 of file rte_eth_bond_private.h.

uint16_t nb_tx_queues

Total number of tx queues

Definition at line 144 of file rte_eth_bond_private.h.

uint8_t active_slave_count

Number of active slaves

Definition at line 146 of file rte_eth_bond_private.h.

uint8_t active_slaves[RTE_MAX_ETHPORTS]

Active slave list

Definition at line 147 of file rte_eth_bond_private.h.

uint8_t slave_count

Number of bonded slaves

Definition at line 149 of file rte_eth_bond_private.h.

struct bond_slave_details slaves[RTE_MAX_ETHPORTS]

Arary of bonded slaves details

Definition at line 150 of file rte_eth_bond_private.h.

uint32_t tx_offload_capa

Rx offload capability

Definition at line 158 of file rte_eth_bond_private.h.

uint64_t flow_type_rss_offloads

Tx offload capability Bit mask of RSS offloads, the bit offset also means flow type

Definition at line 161 of file rte_eth_bond_private.h.

uint8_t rss_key[52]

52-byte hash key buffer.

Definition at line 167 of file rte_eth_bond_private.h.

uint8_t rss_key_len

hash key length in bytes.

Definition at line 168 of file rte_eth_bond_private.h.


The documentation for this struct was generated from the following file: