rte_eth_rxmode(3)
π NAME π
rte_eth_rxmode β okay bestie, this is the glow-up page for the Rx-mode struct from the DPDK library functions manual, and it's lowkey iconic π
β¨ SYNOPSIS β¨
#include <rte_ethdev.h>
πΈ Data Fields πΈ
enum rte_eth_rx_mq_mode mq_mode
uint32_t mtu
uint32_t max_lro_pkt_size
uint64_t offloads
uint64_t reserved_64s [2]
void * reserved_ptrs [2]
π¦ Detailed Description π¦
So this struct is literally the whole vibe-setter for the Rx features of an Ethernet port π It's giving "configure me before you do anything" energy.
Fr fr, its definition lives at line 455 of file rte_ethdev.h. No cap.
π Field Documentation π
π enum rte_eth_rx_mq_mode mq_mode
The multi-queue packet distribution mode you wanna use, like RSS β pick your fighter bestie, this is the one that decides how the packets get shared out β¨
Definition at line 457 of file rte_ethdev.h.
π uint32_t mtu
The requested MTU π That's it, that's the whole field.
Definition at line 458 of file rte_ethdev.h.
π uint32_t max_lro_pkt_size
The maximum allowed size of an LRO aggregated packet β big chunky packet energy, but like, within limits π
Definition at line 460 of file rte_ethdev.h.
π₯ uint64_t offloads
Per-port Rx offloads that get set using the RTE_ETH_RX_OFFLOAD_* flags π
Careful bestie: only the offloads set on therx_offload_capafield of therte_eth_dev_infostructure are allowed to be set. The rest? Not invited to the party π
Definition at line 466 of file rte_ethdev.h.
π§ uint64_t reserved_64s[2]
Reserved for future fields β the placeholder seats at the table, keeping room for whoever shows up later β
Definition at line 468 of file rte_ethdev.h.
π¦ void* reserved_ptrs[2]
Also reserved for future fields β pointer edition, same reserved-seat situation π
Definition at line 469 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very diligent little robot doing its thing π«Ά
Ok that's the whole page bestie, ty for coming to my TED talk π β¨ β this masterpiece is brought to you by DPDK, Version 26.03.0 (yup, the footer said so, so I said so too π). Byeeee πΈ
π¦ 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