DPDK  18.05.1
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
uint8_t rss_key [52]
uint8_t rss_key_len

Detailed Description

Link Bonding PMD device private configuration Structure

Definition at line 103 of file rte_eth_bond_private.h.

Member Function Documentation

TAILQ_HEAD ( sub_flows  ,
rte_flow   
)

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

Field Documentation

uint16_t port_id

Port Id of Bonded Port

Definition at line 104 of file rte_eth_bond_private.h.

uint8_t mode

Link Bonding Mode

Definition at line 105 of file rte_eth_bond_private.h.

uint16_t primary_port

Primary Slave Port

Definition at line 110 of file rte_eth_bond_private.h.

uint16_t current_primary_port

Primary Slave Port

Definition at line 111 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 113 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 116 of file rte_eth_bond_private.h.

burst_xmit_hash_t burst_xmit_hash

Transmit policy hash function

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

uint8_t promiscuous_en

Enabled/disable promiscuous mode on bonding device

Definition at line 123 of file rte_eth_bond_private.h.

uint16_t nb_rx_queues

Total number of rx queues

Definition at line 132 of file rte_eth_bond_private.h.

uint16_t nb_tx_queues

Total number of tx queues

Definition at line 133 of file rte_eth_bond_private.h.

uint16_t active_slave

Next active_slave to poll

Definition at line 135 of file rte_eth_bond_private.h.

uint16_t active_slave_count

Number of active slaves

Definition at line 136 of file rte_eth_bond_private.h.

uint16_t active_slaves[RTE_MAX_ETHPORTS]

Active slave list

Definition at line 137 of file rte_eth_bond_private.h.

uint16_t slave_count

Number of bonded slaves

Definition at line 139 of file rte_eth_bond_private.h.

struct bond_slave_details slaves[RTE_MAX_ETHPORTS]

Arary of bonded slaves details

Definition at line 140 of file rte_eth_bond_private.h.

uint16_t tlb_slaves_order[RTE_MAX_ETHPORTS]

TLB active slaves send order

Definition at line 145 of file rte_eth_bond_private.h.

uint64_t tx_offload_capa

Rx offload capability

Definition at line 149 of file rte_eth_bond_private.h.

uint64_t rx_queue_offload_capa

Tx offload capability

Definition at line 150 of file rte_eth_bond_private.h.

uint64_t tx_queue_offload_capa

per queue Rx offload capability

Definition at line 151 of file rte_eth_bond_private.h.

uint64_t flow_type_rss_offloads

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: