DPDK: Data Plane Development Kit

18.08.0
rte_eth_rxconf Struct Reference

#include <rte_ethdev.h>

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

Field Documentation

struct rte_eth_thresh rx_thresh

RX ring threshold registers.

Definition at line 671 of file rte_ethdev.h.

uint16_t rx_free_thresh

Drives the freeing of RX descriptors.

Definition at line 672 of file rte_ethdev.h.

uint8_t rx_drop_en

Drop packets if no descriptors are available.

Examples:
examples/vhost/main.c, and examples/vmdq/main.c.

Definition at line 673 of file rte_ethdev.h.

uint8_t rx_deferred_start

Do not start queue with rte_eth_dev_start().

Definition at line 674 of file rte_ethdev.h.

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.

Examples:
examples/load_balancer/init.c, examples/qos_meter/main.c, examples/tep_termination/vxlan_setup.c, and examples/vhost/main.c.

Definition at line 680 of file rte_ethdev.h.


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