rte_eth_dcb_info(3)

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

okay bestie, welcome to the rte_eth_dcb_info(3) page β€” yes, from the Library Functions Manual, and yes, we’re gonna get through it together 🫢

✨ NAME ✨

rte_eth_dcb_info β€” the DCB info struct, bestie. That’s the whole name, no cap πŸ’…

🌸 SYNOPSIS 🌸

#include <rte_ethdev.h>

✨ Data Fields ✨

these are the fields, exactly as they are β€” no renaming, no β€œfixing,” just vibes and types πŸŽ€

  • uint8_t nb_tcs
  • uint8_t prio_tc [RTE_ETH_DCB_NUM_USER_PRIORITIES]
  • uint8_t tc_bws [RTE_ETH_DCB_NUM_TCS]
  • struct rte_eth_dcb_tc_queue_mapping tc_queue

🌈 Detailed Description 🌈

so this is a structure used to get the information of DCB, fr fr. It includes TC UP mapping and queue TC mapping β€” that’s the tea πŸ”₯

Definition at line 2023 of file rte_ethdev.h.

πŸŽ€ Field Documentation πŸŽ€

uint8_t nb_tcs

this is the number of TCs ✨

Definition at line 2024 of file rte_ethdev.h.

uint8_t prio_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]

priority to tc β€” exactly that, bestie πŸ’–

Definition at line 2025 of file rte_ethdev.h.

uint8_t tc_bws[RTE_ETH_DCB_NUM_TCS]

Tx BW percentage for each TC β€” get those bandwidth percentages, periodt πŸ’…

Definition at line 2026 of file rte_ethdev.h.

struct rte_eth_dcb_tc_queue_mapping tc_queue

Rx queues assigned to tc β€” yes, the Rx queues are assigned to tc, iconic 🌸

Definition at line 2028 of file rte_ethdev.h.

πŸ’œ Author πŸ’œ

generated automatically by Doxygen for DPDK from the source code β€” not a human, just Doxygen doing its little auto-gen thing πŸ™ˆ


xoxo, your Unix bestie πŸ’– β€” source/version tea: DPDK, Version 26.03.0; page: rte_eth_dcb_info(3). (The footer has no date, so no cap, no invented date πŸ’€)

πŸ“¦ where this page comes from