DPDK
19.11.14
|
#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_fdir_conf | fdir_conf |
struct rte_intr_conf | intr_conf |
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 1045 of file rte_ethdev.h.
uint32_t link_speeds |
bitmap of ETH_LINK_SPEED_XXX of speeds to be used. ETH_LINK_SPEED_FIXED disables link autonegotiation, and a unique speed shall be set. Otherwise, the bitmap defines the set of speeds to be advertised. If the special value ETH_LINK_SPEED_AUTONEG (0) is used, all speeds supported are advertised.
Definition at line 1046 of file rte_ethdev.h.
struct rte_eth_rxmode rxmode |
Port RX configuration.
Definition at line 1053 of file rte_ethdev.h.
struct rte_eth_txmode txmode |
Port TX configuration.
Definition at line 1054 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 1055 of file rte_ethdev.h.
struct rte_eth_rss_conf rss_conf |
Port RSS configuration
Definition at line 1061 of file rte_ethdev.h.
struct rte_eth_vmdq_dcb_conf vmdq_dcb_conf |
Port vmdq+dcb configuration.
Definition at line 1062 of file rte_ethdev.h.
struct rte_eth_dcb_rx_conf dcb_rx_conf |
Port dcb RX configuration.
Definition at line 1064 of file rte_ethdev.h.
struct rte_eth_vmdq_rx_conf vmdq_rx_conf |
Port vmdq RX configuration.
Definition at line 1066 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 1070 of file rte_ethdev.h.
struct rte_eth_dcb_tx_conf dcb_tx_conf |
Port dcb TX configuration.
Definition at line 1072 of file rte_ethdev.h.
struct rte_eth_vmdq_tx_conf vmdq_tx_conf |
Port vmdq TX configuration.
Definition at line 1074 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 ETH_DCB_PFC_SUPPORT.
Definition at line 1079 of file rte_ethdev.h.
struct rte_fdir_conf fdir_conf |
FDIR configuration. DEPRECATED
Definition at line 1080 of file rte_ethdev.h.
struct rte_intr_conf intr_conf |
Interrupt mode configuration.
Definition at line 1081 of file rte_ethdev.h.