DPDK  17.11.2
Data Fields
bond_dev_private Struct Reference

#include <rte_eth_bond_private.h>

Data Fields

uint16_t port_id
 
uint8_t mode
 
uint16_t primary_port
 
uint16_t current_primary_port
 
uint16_t user_defined_primary_port
 
uint8_t balance_xmit_policy
 
xmit_hash_t xmit_hash
 
uint8_t user_defined_mac
 
uint8_t promiscuous_en
 
uint16_t nb_rx_queues
 
uint16_t nb_tx_queues
 
uint16_t active_slave
 
uint16_t active_slave_count
 
uint16_t active_slaves [RTE_MAX_ETHPORTS]
 
uint16_t slave_count
 
struct bond_slave_details slaves [RTE_MAX_ETHPORTS]
 
uint16_t tlb_slaves_order [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 116 of file rte_eth_bond_private.h.

Field Documentation

◆ port_id

uint16_t port_id

Port Id of Bonded Port

Definition at line 117 of file rte_eth_bond_private.h.

◆ mode

uint8_t mode

Link Bonding Mode

Definition at line 118 of file rte_eth_bond_private.h.

◆ primary_port

uint16_t primary_port

Primary Slave Port

Definition at line 122 of file rte_eth_bond_private.h.

◆ current_primary_port

uint16_t current_primary_port

Primary Slave Port

Definition at line 123 of file rte_eth_bond_private.h.

◆ user_defined_primary_port

uint16_t user_defined_primary_port

Flag for whether primary port is user defined or not

Definition at line 124 of file rte_eth_bond_private.h.

◆ balance_xmit_policy

uint8_t balance_xmit_policy

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

Definition at line 127 of file rte_eth_bond_private.h.

◆ xmit_hash

xmit_hash_t xmit_hash

Transmit policy hash function

Definition at line 129 of file rte_eth_bond_private.h.

◆ user_defined_mac

uint8_t user_defined_mac

Flag for whether MAC address is user defined or not

Definition at line 132 of file rte_eth_bond_private.h.

◆ promiscuous_en

uint8_t promiscuous_en

Enabled/disable promiscuous mode on bonding device

Definition at line 134 of file rte_eth_bond_private.h.

◆ nb_rx_queues

uint16_t nb_rx_queues

Total number of rx queues

Definition at line 144 of file rte_eth_bond_private.h.

◆ nb_tx_queues

uint16_t nb_tx_queues

Total number of tx queues

Definition at line 145 of file rte_eth_bond_private.h.

◆ active_slave

uint16_t active_slave

Next active_slave to poll

Definition at line 147 of file rte_eth_bond_private.h.

◆ active_slave_count

uint16_t active_slave_count

Number of active slaves

Definition at line 148 of file rte_eth_bond_private.h.

◆ active_slaves

uint16_t active_slaves[RTE_MAX_ETHPORTS]

Active slave list

Definition at line 149 of file rte_eth_bond_private.h.

◆ slave_count

uint16_t slave_count

Number of bonded slaves

Definition at line 151 of file rte_eth_bond_private.h.

◆ slaves

struct bond_slave_details slaves[RTE_MAX_ETHPORTS]

Arary of bonded slaves details

Definition at line 152 of file rte_eth_bond_private.h.

◆ tlb_slaves_order

uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS]

TLB active slaves send order

Definition at line 156 of file rte_eth_bond_private.h.

◆ tx_offload_capa

uint32_t tx_offload_capa

Rx offload capability

Definition at line 161 of file rte_eth_bond_private.h.

◆ flow_type_rss_offloads

uint64_t flow_type_rss_offloads

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

Definition at line 164 of file rte_eth_bond_private.h.

◆ rss_key

uint8_t rss_key[52]

52-byte hash key buffer.

Definition at line 170 of file rte_eth_bond_private.h.

◆ rss_key_len

uint8_t rss_key_len

hash key length in bytes.

Definition at line 171 of file rte_eth_bond_private.h.


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