DPDK  19.08.0-rc0
Public Member Functions | Data Fields
bond_dev_private Struct Reference

#include <rte_eth_bond_private.h>

Public Member Functions

 TAILQ_HEAD (sub_flows, rte_flow) flow_list
 

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
 
burst_xmit_hash_t burst_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]
 
uint64_t tx_offload_capa
 
uint64_t rx_queue_offload_capa
 
uint64_t tx_queue_offload_capa
 
uint64_t flow_type_rss_offloads
 
struct rte_eth_rxconf default_rxconf
 
struct rte_eth_txconf default_txconf
 
struct rte_eth_desc_lim rx_desc_lim
 
struct rte_eth_desc_lim tx_desc_lim
 
uint8_t rss_key [52]
 
uint8_t rss_key_len
 

Detailed Description

Link Bonding PMD device private configuration Structure

Definition at line 106 of file rte_eth_bond_private.h.

Member Function Documentation

◆ TAILQ_HEAD()

TAILQ_HEAD ( sub_flows  ,
rte_flow   
)

per queue Tx offload capability < List of the configured flows Flow isolation state

Field Documentation

◆ port_id

uint16_t port_id

Port Id of Bonded Port

Definition at line 107 of file rte_eth_bond_private.h.

◆ mode

uint8_t mode

Link Bonding Mode

Definition at line 108 of file rte_eth_bond_private.h.

◆ primary_port

uint16_t primary_port

Primary Slave Port

Definition at line 113 of file rte_eth_bond_private.h.

◆ current_primary_port

uint16_t current_primary_port

Primary Slave Port

Definition at line 114 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 115 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 118 of file rte_eth_bond_private.h.

◆ burst_xmit_hash

burst_xmit_hash_t burst_xmit_hash

Transmit policy hash function

Definition at line 120 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 123 of file rte_eth_bond_private.h.

◆ promiscuous_en

uint8_t promiscuous_en

Enabled/disable promiscuous mode on bonding device

Definition at line 125 of file rte_eth_bond_private.h.

◆ nb_rx_queues

uint16_t nb_rx_queues

Total number of rx queues

Definition at line 135 of file rte_eth_bond_private.h.

◆ nb_tx_queues

uint16_t nb_tx_queues

Total number of tx queues

Definition at line 136 of file rte_eth_bond_private.h.

◆ active_slave

uint16_t active_slave

Next active_slave to poll

Definition at line 138 of file rte_eth_bond_private.h.

◆ active_slave_count

uint16_t active_slave_count

Number of active slaves

Definition at line 139 of file rte_eth_bond_private.h.

◆ active_slaves

uint16_t active_slaves[RTE_MAX_ETHPORTS]

Active slave list

Definition at line 140 of file rte_eth_bond_private.h.

◆ slave_count

uint16_t slave_count

Number of bonded slaves

Definition at line 142 of file rte_eth_bond_private.h.

◆ slaves

struct bond_slave_details slaves[RTE_MAX_ETHPORTS]

Arary of bonded slaves details

Definition at line 143 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 147 of file rte_eth_bond_private.h.

◆ tx_offload_capa

uint64_t tx_offload_capa

Rx offload capability

Definition at line 152 of file rte_eth_bond_private.h.

◆ rx_queue_offload_capa

uint64_t rx_queue_offload_capa

Tx offload capability

Definition at line 153 of file rte_eth_bond_private.h.

◆ tx_queue_offload_capa

uint64_t tx_queue_offload_capa

per queue Rx offload capability

Definition at line 154 of file rte_eth_bond_private.h.

◆ flow_type_rss_offloads

uint64_t flow_type_rss_offloads

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

Definition at line 164 of file rte_eth_bond_private.h.

◆ default_rxconf

struct rte_eth_rxconf default_rxconf

Default RxQ conf.

Definition at line 166 of file rte_eth_bond_private.h.

◆ default_txconf

struct rte_eth_txconf default_txconf

Default TxQ conf.

Definition at line 167 of file rte_eth_bond_private.h.

◆ rx_desc_lim

struct rte_eth_desc_lim rx_desc_lim

Rx descriptor limits

Definition at line 168 of file rte_eth_bond_private.h.

◆ tx_desc_lim

struct rte_eth_desc_lim tx_desc_lim

Tx descriptor limits

Definition at line 169 of file rte_eth_bond_private.h.

◆ rss_key

uint8_t rss_key[52]

52-byte hash key buffer.

Definition at line 175 of file rte_eth_bond_private.h.

◆ rss_key_len

uint8_t rss_key_len

hash key length in bytes.

Definition at line 176 of file rte_eth_bond_private.h.


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