#include <rte_ethdev.h>
A structure used to configure an Ethernet port. Depending upon the Rx multi-queue mode, extra advanced configuration settings may be needed.
- Examples
- examples/bbdev_app/main.c, examples/bond/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/ethtool/ethtool-app/main.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/flow_classify/flow_classify.c, examples/flow_filtering/main.c, examples/ip_fragmentation/main.c, examples/ip_pipeline/link.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/l2fwd-cat/l2fwd-cat.c, examples/l2fwd-crypto/main.c, examples/l2fwd-event/l2fwd_common.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_event.c, examples/l3fwd/main.c, examples/link_status_interrupt/main.c, examples/multi_process/client_server_mp/mp_server/init.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/packet_ordering/main.c, examples/pipeline/obj.c, examples/ptpclient/ptpclient.c, examples/qos_meter/main.c, examples/qos_sched/init.c, examples/rxtx_callbacks/main.c, examples/server_node_efd/server/init.c, examples/skeleton/basicfwd.c, examples/vhost/main.c, examples/vm_power_manager/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.
Definition at line 1454 of file rte_ethdev.h.
◆ link_speeds
bitmap of RTE_ETH_LINK_SPEED_XXX of speeds to be used. RTE_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 RTE_ETH_LINK_SPEED_AUTONEG (0) is used, all speeds supported are advertised.
- Examples
- examples/ip_pipeline/link.c, and examples/pipeline/obj.c.
Definition at line 1455 of file rte_ethdev.h.
◆ rxmode
Port Rx configuration.
- Examples
- examples/bbdev_app/main.c, examples/bond/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/flow_filtering/main.c, examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/l2fwd-crypto/main.c, examples/l2fwd-event/l2fwd_common.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/main.c, examples/link_status_interrupt/main.c, examples/multi_process/client_server_mp/mp_server/init.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/qos_meter/main.c, examples/qos_sched/init.c, examples/server_node_efd/server/init.c, examples/vhost/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.
Definition at line 1462 of file rte_ethdev.h.
◆ txmode
Port Tx configuration.
- Examples
- examples/bond/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/flow_filtering/main.c, examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/l2fwd-crypto/main.c, examples/l2fwd-event/l2fwd_common.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/main.c, examples/link_status_interrupt/main.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/packet_ordering/main.c, examples/qos_sched/init.c, examples/server_node_efd/server/init.c, examples/skeleton/basicfwd.c, examples/vm_power_manager/main.c, and examples/vmdq_dcb/main.c.
Definition at line 1463 of file rte_ethdev.h.
◆ 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 1464 of file rte_ethdev.h.
◆ rss_conf
Port RSS configuration
- Examples
- examples/bond/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/l2fwd-event/l2fwd_common.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_event.c, examples/l3fwd/main.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/qos_meter/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.
Definition at line 1470 of file rte_ethdev.h.
◆ vmdq_dcb_conf
◆ dcb_rx_conf
struct rte_eth_dcb_rx_conf dcb_rx_conf |
◆ vmdq_rx_conf
struct { ... } rx_adv_conf |
Port Rx filtering configuration.
- Examples
- examples/bond/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/l2fwd-event/l2fwd_common.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_event.c, examples/l3fwd/main.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/qos_meter/main.c, examples/vhost/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.
◆ vmdq_dcb_tx_conf
struct rte_eth_vmdq_dcb_tx_conf vmdq_dcb_tx_conf |
◆ dcb_tx_conf
struct rte_eth_dcb_tx_conf dcb_tx_conf |
◆ vmdq_tx_conf
struct rte_eth_vmdq_tx_conf vmdq_tx_conf |
union { ... } tx_adv_conf |
◆ dcb_capability_en
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 1488 of file rte_ethdev.h.
◆ intr_conf
The documentation for this struct was generated from the following file: