DPDK  17.11.10
Data Fields
rte_eth_txconf Struct Reference

#include <rte_ethdev.h>

Data Fields

struct rte_eth_thresh tx_thresh
 
uint16_t tx_rs_thresh
 
uint16_t tx_free_thresh
 
uint32_t txq_flags
 
uint8_t tx_deferred_start
 
uint64_t offloads
 

Detailed Description

A structure used to configure a TX ring of an Ethernet port.

Examples:
examples/ip_fragmentation/main.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/l3fwd-acl/main.c, examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, examples/l3fwd/main.c, examples/netmap_compat/lib/compat_netmap.c, examples/performance-thread/l3fwd-thread/main.c, examples/ptpclient/ptpclient.c, examples/qos_sched/init.c, examples/tep_termination/vxlan_setup.c, and examples/vhost/main.c.

Definition at line 759 of file rte_ethdev.h.

Field Documentation

struct rte_eth_thresh tx_thresh

TX ring threshold registers.

Examples:
examples/qos_sched/init.c.

Definition at line 760 of file rte_ethdev.h.

uint16_t tx_rs_thresh

Drives the setting of RS bit on TXDs.

Definition at line 761 of file rte_ethdev.h.

uint16_t tx_free_thresh

Start freeing TX buffers if there are less free descriptors than this value.

Definition at line 762 of file rte_ethdev.h.

uint32_t txq_flags
uint8_t tx_deferred_start

Do not start queue with rte_eth_dev_start().

Definition at line 766 of file rte_ethdev.h.

uint64_t offloads

Per-queue Tx offloads to be set using DEV_TX_OFFLOAD_* flags. Only offloads set on tx_queue_offload_capa or tx_offload_capa fields on rte_eth_dev_info structure are allowed to be set.

Definition at line 772 of file rte_ethdev.h.


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