Sponsor:

Your company here, and a link to your site. Click to find out more.

rte_eth_conf - Man Page

Synopsis

#include <rte_ethdev.h>

Data Fields

uint32_t link_speeds
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_eth_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.

Definition at line 1487 of file rte_ethdev.h.

Field Documentation

struct rte_eth_rxmode rxmode

Port Rx configuration.

Definition at line 1495 of file rte_ethdev.h.

struct rte_eth_txmode txmode

Port Tx configuration.

Definition at line 1496 of file rte_ethdev.h.

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.

Definition at line 1497 of file rte_ethdev.h.

struct rte_eth_rss_conf rss_conf

Port RSS configuration

Definition at line 1503 of file rte_ethdev.h.

struct rte_eth_vmdq_dcb_conf vmdq_dcb_conf

Port VMDq+DCB configuration.

Definition at line 1505 of file rte_ethdev.h.

struct rte_eth_dcb_rx_conf dcb_rx_conf

Port DCB Rx configuration.

Definition at line 1507 of file rte_ethdev.h.

struct rte_eth_vmdq_rx_conf vmdq_rx_conf

Port VMDq Rx configuration.

Definition at line 1509 of file rte_ethdev.h.

struct  { ... }  rx_adv_conf

Port Rx filtering configuration.

struct rte_eth_vmdq_dcb_tx_conf vmdq_dcb_tx_conf

Port VMDq+DCB Tx configuration.

Definition at line 1513 of file rte_ethdev.h.

struct rte_eth_dcb_tx_conf dcb_tx_conf

Port DCB Tx configuration.

Definition at line 1515 of file rte_ethdev.h.

struct rte_eth_vmdq_tx_conf vmdq_tx_conf

Port VMDq Tx configuration.

Definition at line 1517 of file rte_ethdev.h.

union  { ... }  tx_adv_conf

Port Tx DCB configuration (union).

uint32_t dcb_capability_en

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

Definition at line 1521 of file rte_ethdev.h.

struct rte_eth_intr_conf intr_conf

Interrupt mode configuration.

Definition at line 1522 of file rte_ethdev.h.

Author

Generated automatically by Doxygen for DPDK from the source code.

Info

Version 23.11.0 DPDK