DPDK  2.0.0
Data Fields
rte_eth_conf Struct Reference

#include <rte_ethdev.h>

Data Fields

uint16_t link_speed
uint16_t link_duplex
struct rte_eth_rxmode rxmode
struct rte_eth_txmode txmode
uint32_t lpbk_mode
struct {
   struct rte_eth_rss_conf   rss_conf
   struct rte_eth_vmdq_dcb_conf   vmdq_dcb_conf
   struct rte_eth_dcb_rx_conf   dcb_rx_conf
   struct rte_eth_vmdq_rx_conf   vmdq_rx_conf
rx_adv_conf
union {
   struct rte_eth_vmdq_dcb_tx_conf   vmdq_dcb_tx_conf
   struct rte_eth_dcb_tx_conf   dcb_tx_conf
   struct rte_eth_vmdq_tx_conf   vmdq_tx_conf
tx_adv_conf
uint32_t dcb_capability_en
struct rte_fdir_conf fdir_conf
struct rte_intr_conf intr_conf

Detailed Description

A structure used to configure an Ethernet port. Depending upon the RX multi-queue mode, extra advanced configuration settings may be needed.

Field Documentation

uint32_t dcb_capability_en

Currently,Priority Flow Control(PFC) are supported,if DCB with PFC is needed,and the variable must be set ETH_DCB_PFC_SUPPORT.

struct rte_eth_dcb_rx_conf dcb_rx_conf

Port dcb RX configuration.

struct rte_eth_dcb_tx_conf dcb_tx_conf

Port dcb TX configuration.

struct rte_fdir_conf fdir_conf

FDIR configuration.

struct rte_intr_conf intr_conf

Interrupt mode configuration.

uint16_t link_duplex

ETH_LINK_[HALF_DUPLEX|FULL_DUPLEX], or 0 for autonegotation

uint16_t link_speed

ETH_LINK_SPEED_10[0|00|000], or 0 for autonegotation

uint32_t lpbk_mode

Loopback operation mode. By default the value is 0, meaning the loopback mode is disabled. Read the datasheet of given ethernet controller for details. The possible values of this field are defined in implementation of each driver.

struct rte_eth_rss_conf rss_conf

Port RSS configuration

struct { ... } rx_adv_conf

Port RX filtering configuration (union).

struct rte_eth_rxmode rxmode

Port RX configuration.

union { ... } tx_adv_conf

Port TX DCB configuration (union).

struct rte_eth_txmode txmode

Port TX configuration.

struct rte_eth_vmdq_dcb_conf vmdq_dcb_conf

Port vmdq+dcb configuration.

struct rte_eth_vmdq_dcb_tx_conf vmdq_dcb_tx_conf

Port vmdq+dcb TX configuration.

struct rte_eth_vmdq_rx_conf vmdq_rx_conf

Port vmdq RX configuration.

struct rte_eth_vmdq_tx_conf vmdq_tx_conf

Port vmdq TX configuration.


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