rte_eth_rxmode(3)
β¨ NAME β¨
rte_eth_rxmode β bestie, this is the struct that sets up how your Ethernet port receives stuff π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π¦ Data Fields
enum rte_eth_rx_mq_mode mq_modeuint32_t mtuuint32_t max_lro_pkt_sizeuint64_t offloadsuint64_t reserved_64s [2]void * reserved_ptrs [2]
π« Detailed Description π«
Okay so picture this: it's a whole structure, right, and its entire job is configuring the Rx features of an Ethernet port. That's it. That's the gig. Main character energy for your receive path.
π Definition at line 455 of file rte_ethdev.h.
π Field Documentation π
π enum rte_eth_rx_mq_mode mq_mode
The multi-queue packet distribution mode you wanna use β like RSS, for example. Pick your fighter π
π Definition at line 457 of file rte_ethdev.h.
π uint32_t mtu
The MTU you're requesting. That's the ask. β¨
π Definition at line 458 of file rte_ethdev.h.
π§ uint32_t max_lro_pkt_size
The maximum size an LRO aggregated packet is allowed to be. Cap it, girl. π
π Definition at line 460 of file rte_ethdev.h.
π₯ uint64_t offloads
Per-port Rx offloads that you set using the RTE_ETH_RX_OFFLOAD_* flags, periodt.
β οΈ Real talk: literally only the offloads that are set on therx_offload_capafield of therte_eth_dev_infostructure are allowed to be set here. Not a vibe suggestion β that's the rule. Don't try to sneak in extras, bestie. π
π Definition at line 466 of file rte_ethdev.h.
π uint64_t reserved_64s[2]
Reserved for future fields. Hands off, it's not for you (yet). π«Ά
π Definition at line 468 of file rte_ethdev.h.
π void* reserved_ptrs[2]
Also reserved for future fields. Same energy. Leave it alone. π
π Definition at line 469 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, no cap β the robots did this one π€β¨
And that's the whole page, babe! This absolute icon of a doc came from DPDK, Version 25.11.3, and yes, rte_eth_rxmode(3) is the manual entry to remember. Slay, go configure your Rx, and don't touch the reserved fields. Mwah. π
π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms