rte_eth_switch_info(3)
π rte_eth_switch_info(3) π
okay so bestie, welcome to the Library Functions Manual β yes that's the manual name, we're fancy here. This page is literally all about rte_eth_switch_info, an iconic little struct from the DPDK-verse. Sit down, grab a boba, we're learning about switch info today π
β¨ NAME β¨
rte_eth_switch_info β no cap, that's the whole name, she's giving minimalism
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π Data Fields π
const char * nameuint16_t domain_iduint16_t port_iduint16_t rx_domain
π Detailed Description π
Ethernet device associated switch information. That's the vibe. That's what she does. π¦
fr fr, this is defined at line 1731 of file rte_ethdev.h β memento of exactly where she lives, iykyk.
π₯ Field Documentation π₯
π const char* name
switch name. literally just the name of the switch. short and sweet, main character energy π
Definition at line 1732 of file rte_ethdev.h.
π uint16_t domain_id
switch domain ID. yep, the ID of the domain. π₯
Definition at line 1733 of file rte_ethdev.h.
π uint16_t port_id
okay this one is highkey the wordiest, so pay attention bestie π
Mapping to the devices physical switch port as enumerated from the perspective of the embedded interconnect/switch. For SR-IOV enabled device this may correspond to the VF_ID of each virtual function, but each driver should explicitly define the mapping of switch port identifier to that physical interconnect/switch. π«Ά
Definition at line 1741 of file rte_ethdev.h.
π uint16_t rx_domain
Shared Rx queue sub-domain boundary. Only ports in same Rx domain and switch domain can share Rx queue. Valid only if device advertised RTE_ETH_DEV_CAPA_RXQ_SHARE capability. β
heads up babe: thatrx_domainfield is only valid when the device advertisedRTE_ETH_DEV_CAPA_RXQ_SHAREβ don't come for her if you skipped the capability check π
Definition at line 1747 of file rte_ethdev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so like, not a human author, a whole robot did this. slay, honestly π€π
okay that's the whole page bestie, 10/10 no notes. this little cutie came to you courtesy of DPDK, Version 26.03.0 β go forth and switch-info responsibly π§π
π¦ 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