rte_eth_rxconf(3)
π NAME π
rte_eth_rxconf
okay so bestie, this is the rte_eth_rxconf(3) page from the Library Functions Manual β yes, the manual name is right there, and weβre about to make this struct make sense π«Ά
β¨ SYNOPSIS β¨
#include <rte_ethdev.h>
π Data Fields π
struct rte_eth_thresh rx_threshuint16_t rx_free_threshuint8_t rx_drop_enuint8_t rx_deferred_startuint16_t rx_nseguint16_t share_groupuint16_t share_qiduint64_t offloadsunion rte_eth_rxseg * rx_segstruct rte_mempool ** rx_mempoolsuint64_t reserved_64s [2]void * reserved_ptrs [2]
π Detailed Description π
rte_eth_rxconf is literally a structure used to configure an Rx ring of an Ethernet port. Thatβs the whole main character energy of this page. Definition at line 1156 of file rte_ethdev.h.
πΈ Field Documentation πΈ
π¦ struct rte_eth_thresh rx_thresh
These are the Rx ring threshold registers β threshold central, no cap. Definition at line 1157 of file rte_ethdev.h.
π¦ uint16_t rx_free_thresh
This one drives the freeing of Rx descriptors, like itβs the little cleanup engine behind the scenes. Definition at line 1158 of file rte_ethdev.h.
π¦ uint8_t rx_drop_en
Drop packets if no descriptors are available. Simple rule, bestie: no descriptors, packet goes bye. Definition at line 1159 of file rte_ethdev.h.
π¦ uint8_t rx_deferred_start
Do not start the queue with rte_eth_dev_start(). The queue is lowkey not invited to that functionβs party. Definition at line 1160 of file rte_ethdev.h.
π¦ uint16_t rx_nseg
Number of descriptions in rx_seg array. Yep, descriptions β thatβs the word, keep it. Definition at line 1161 of file rte_ethdev.h.
π¦ uint16_t share_group
Share group index in Rx domain and switch domain. Non-zero value enables Rx queue share, zero disables share. The PMD is responsible for Rx queue consistency checks so member portsβ configurations donβt contradict each other β that check is on the PMD, not you. Definition at line 1168 of file rte_ethdev.h.
π¦ uint16_t share_qid
Shared Rx queue ID in the group. Definition at line 1169 of file rte_ethdev.h.
π¦ uint64_t offloads
Per-queue Rx offloads to be set using RTE_ETH_RX_OFFLOAD_* flags. Important: only offloads set on rx_queue_offload_capa or rx_offload_capa fields on the rte_eth_dev_info structure are allowed to be set. If itβs not in those fields, itβs not allowed β periodt. Definition at line 1175 of file rte_ethdev.h.
π¦ union rte_eth_rxseg* rx_seg
Points to the array of segment descriptions for an entire packet. Array elements are properties for consecutive Rx segments.
The supported capabilities of receiving segmentation is reported in the rte_eth_dev_info.rx_seg_capa field. Definition at line 1183 of file rte_ethdev.h.
π¦ struct rte_mempool** rx_mempools
Array of mempools to allocate Rx buffers from.
This provides support for multiple mbuf pools per Rx queue. The capability is reported in device info via positive max_rx_mempools.
It could be useful for more efficient usage of memory when an application creates different mempools to steer the specific size of the packet.
If many mempools are specified, packets received using Rx burst may belong to any provided mempool. From the ethdev user point of view it is undefined how PMD/NIC chooses mempool for a packet β literally undefined, so donβt expect a guarantee.
If Rx scatter is enabled, a packet may be delivered using a chain of mbufs obtained from single mempool or multiple mempools based on the NIC implementation. Definition at line 1204 of file rte_ethdev.h.
π¦ uint64_t reserved_64s[2]
The doc line says: < Number of Rx mempools Reserved for future fields β itβs reserved for future fields, so leave it alone. Definition at line 1207 of file rte_ethdev.h.
π¦ void* reserved_ptrs[2]
Reserved for future fields. Definition at line 1208 of file rte_ethdev.h.
π¦ Author π¦
Generated automatically by Doxygen for DPDK from the source code. Yes, Doxygen did the typing β I just did the vibe check π
Cute sign-off: this is DPDK, Version 26.03.0, for rte_eth_rxconf(3) β and the footer doesnβt give a separate date, so Iβm not inventing one, bestie. Periodt. πβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms