DPDK  20.05.0
Data Fields
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
 
uint64_t reserved_64s [2]
 
void * reserved_ptrs [2]
 

Detailed Description

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

Examples:
examples/bond/main.c, examples/eventdev_pipeline/pipeline_worker_generic.c, examples/eventdev_pipeline/pipeline_worker_tx.c, examples/flow_filtering/main.c, examples/ioat/ioatfwd.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-event/l2fwd_common.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd/main.c, examples/l3fwd-acl/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/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/performance-thread/l3fwd-thread/main.c, examples/qos_meter/main.c, examples/qos_sched/init.c, examples/rxtx_callbacks/main.c, examples/tep_termination/vxlan_setup.c, examples/vhost/main.c, and examples/vmdq/main.c.

Definition at line 835 of file rte_ethdev.h.

Field Documentation

struct rte_eth_thresh rx_thresh

RX ring threshold registers.

Definition at line 836 of file rte_ethdev.h.

uint16_t rx_free_thresh

Drives the freeing of RX descriptors.

Definition at line 837 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 838 of file rte_ethdev.h.

uint8_t rx_deferred_start

Do not start queue with rte_eth_dev_start().

Definition at line 839 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/l2fwd-event/l2fwd_common.c, examples/tep_termination/vxlan_setup.c, and examples/vhost/main.c.

Definition at line 845 of file rte_ethdev.h.

uint64_t reserved_64s[2]

Reserved for future fields

Definition at line 847 of file rte_ethdev.h.

void* reserved_ptrs[2]

Reserved for future fields

Definition at line 848 of file rte_ethdev.h.


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