DPDK  17.11.10
Data Fields
rte_eth_rxconf Struct Reference

#include <rte_ethdev.h>

+ Collaboration diagram for rte_eth_rxconf:

Data Fields

struct rte_eth_thresh rx_thresh
 
uint16_t rx_free_thresh
 
uint8_t rx_drop_en
 
uint8_t rx_deferred_start
 
uint64_t offloads
 

Detailed Description

A structure used to configure an RX ring of an Ethernet port.

Examples:
examples/netmap_compat/lib/compat_netmap.c, examples/qos_sched/init.c, examples/tep_termination/vxlan_setup.c, examples/vhost/main.c, and examples/vmdq/main.c.

Definition at line 721 of file rte_ethdev.h.

Field Documentation

◆ rx_thresh

struct rte_eth_thresh rx_thresh

RX ring threshold registers.

Examples:
examples/qos_sched/init.c.

Definition at line 722 of file rte_ethdev.h.

◆ rx_free_thresh

uint16_t rx_free_thresh

Drives the freeing of RX descriptors.

Examples:
examples/qos_sched/init.c.

Definition at line 723 of file rte_ethdev.h.

◆ rx_drop_en

uint8_t rx_drop_en

Drop packets if no descriptors are available.

Examples:
examples/multi_process/symmetric_mp/main.c, examples/qos_sched/init.c, examples/vhost/main.c, and examples/vmdq/main.c.

Definition at line 724 of file rte_ethdev.h.

◆ rx_deferred_start

uint8_t rx_deferred_start

Do not start queue with rte_eth_dev_start().

Examples:
examples/qos_sched/init.c.

Definition at line 725 of file rte_ethdev.h.

◆ offloads

uint64_t offloads

Per-queue Rx offloads to be set using DEV_RX_OFFLOAD_* flags. Only offloads set on rx_queue_offload_capa or rx_offload_capa fields on rte_eth_dev_info structure are allowed to be set.

Definition at line 731 of file rte_ethdev.h.


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