DPDK  17.11.10
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

uint16_t port_id

Port Id of Bonded Port

Definition at line 117 of file rte_eth_bond_private.h.

uint8_t mode

Link Bonding Mode

Definition at line 118 of file rte_eth_bond_private.h.

uint16_t primary_port

Primary Slave Port

Definition at line 123 of file rte_eth_bond_private.h.

uint16_t current_primary_port

Primary Slave Port

Definition at line 124 of file rte_eth_bond_private.h.

uint16_t user_defined_primary_port

Flag for whether primary port is user defined or not

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

xmit_hash_t xmit_hash

Transmit policy hash function

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

uint8_t promiscuous_en

Enabled/disable promiscuous mode on bonding device

Definition at line 135 of file rte_eth_bond_private.h.

uint16_t nb_rx_queues

Total number of rx queues

Definition at line 145 of file rte_eth_bond_private.h.

uint16_t nb_tx_queues

Total number of tx queues

Definition at line 146 of file rte_eth_bond_private.h.

uint16_t active_slave

Next active_slave to poll

Definition at line 148 of file rte_eth_bond_private.h.

uint16_t active_slave_count

Number of active slaves

Definition at line 149 of file rte_eth_bond_private.h.

uint16_t active_slaves[RTE_MAX_ETHPORTS]

Active slave list

Definition at line 150 of file rte_eth_bond_private.h.

uint16_t slave_count

Number of bonded slaves

Definition at line 152 of file rte_eth_bond_private.h.

struct bond_slave_details slaves[RTE_MAX_ETHPORTS]

Arary of bonded slaves details

Definition at line 153 of file rte_eth_bond_private.h.

uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS]

TLB active slaves send order

Definition at line 157 of file rte_eth_bond_private.h.

uint32_t tx_offload_capa

Rx offload capability

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

uint8_t rss_key[52]

52-byte hash key buffer.

Definition at line 171 of file rte_eth_bond_private.h.

uint8_t rss_key_len

hash key length in bytes.

Definition at line 172 of file rte_eth_bond_private.h.


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