rte_eth_dcb_info(3)

πŸ’… NAME πŸ’…

rte_eth_dcb_info β€” bestie, it's a struct, and it's the one that spills the DCB tea β˜•βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

This is a page from the Library Functions Manual, section 3, so you already know it's documentation for a C thing you're gonna #include and vibe with.

#include <rte_ethdev.h>

✨ Data Fields ✨

  • 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 πŸ¦‹

Okay so picture this: it's a structure you use to get the information of DCB. That's the whole job. It's carrying the TC UP mapping and the queue TC mapping around with it, like a little handbag full of networking facts πŸ‘œπŸ’–

Definition at line 2023 of file rte_ethdev.h. Yes, we cite our sources here, no cap.

🌸 Field Documentation 🌸

⭐ uint8_t nb_tcs

The number of TCs. That's it, that's the field, it's giving concise πŸ‘‘

Definition at line 2024 of file rte_ethdev.h.

πŸ’œ uint8_t prio_tc[RTE_ETH_DCB_NUM_USER_PRIORITIES]

Priority to tc β€” the mapping, bestie, the moment where a priority finds its TC 🫢

Definition at line 2025 of file rte_ethdev.h.

πŸ”₯ uint8_t tc_bws[RTE_ETH_DCB_NUM_TCS]

Tx BW percentage for each TC. Percentages, plural, per TC, all of them πŸ’€πŸ“Š

Definition at line 2026 of file rte_ethdev.h.

🧚 struct rte_eth_dcb_tc_queue_mapping tc_queue

Rx queues assigned to tc. Which queues are doing the receiving, and which tc they belong to β€” iconic behaviour, honestly 🌈

Definition at line 2028 of file rte_ethdev.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human typing this one out by hand, it's the robots doing their little thing πŸ€–βœ¨


And that's the whole page, bestie! It's DPDK Version 25.11.3, the rte_eth_dcb_info(3) page, and it was out here living its best life in the manual. Mwah πŸ’‹ Go forth and read your structs πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from