rte_eth_rxmode(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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 the rx_offload_capa field of the rte_eth_dev_info structure 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