DPDK  18.05.1
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/bond/main.c, examples/distributor/main.c, examples/ethtool/ethtool-app/main.c, examples/eventdev_pipeline/main.c, examples/exception_path/main.c, examples/flow_classify/flow_classify.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/kni/main.c, examples/l2fwd-crypto/main.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-acl/main.c, examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, examples/l3fwd/main.c, examples/link_status_interrupt/main.c, examples/load_balancer/init.c, examples/multi_process/l2fwd_fork/main.c, examples/multi_process/symmetric_mp/main.c, examples/netmap_compat/lib/compat_netmap.c, examples/packet_ordering/main.c, examples/performance-thread/l3fwd-thread/main.c, examples/ptpclient/ptpclient.c, examples/qos_meter/main.c, examples/qos_sched/init.c, examples/quota_watermark/qw/init.c, examples/rxtx_callbacks/main.c, examples/server_node_efd/server/init.c, examples/skeleton/basicfwd.c, examples/tep_termination/vxlan_setup.c, examples/vhost/main.c, examples/vm_power_manager/main.c, examples/vmdq/main.c, and examples/vmdq_dcb/main.c.

Definition at line 730 of file rte_ethdev.h.

Field Documentation

struct rte_eth_thresh tx_thresh

TX ring threshold registers.

Definition at line 731 of file rte_ethdev.h.

uint16_t tx_rs_thresh

Drives the setting of RS bit on TXDs.

Definition at line 732 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 733 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 737 of file rte_ethdev.h.

uint64_t offloads

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