rte_table_..._tc_params(3)

πŸ’– rte_table_action_mtr_tc_params πŸ’–

okay bestie, welcome to another ✨Library Functions Manual✨ moment β€” this one's about rte_table_action_mtr_tc_params, and yes it's a struct, and yes it's lowkey adorable in how simple it is. no cap.


🌸 NAME 🌸

rte_table_action_mtr_tc_params β€” the lil struct that holds your meter action config per traffic class πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_table_action.h>

✨ Data Fields ✨

  • uint32_t meter_profile_id
  • enum rte_table_action_policer policer [RTE_COLORS]

πŸ¦‹ Detailed Description πŸ¦‹

so the whole vibe of this struct is: it's the meter action configuration per traffic class. that's it, that's the job 🫢

fr fr, it's defined at line 257 of the file rte_table_action.h β€” hold onto that, it's giving "receipts" energy.


πŸ’œ Field Documentation πŸ’œ

⭐ uint32_t meter_profile_id

the meter profile ID. iconic little number, tells you which profile you're rocking.

definition? line 259 of rte_table_action.h. noted, bestie πŸ“

🌈 enum rte_table_action_policer policer[RTE_COLORS]

the policer actions, and yes it's an array with exactly RTE_COLORS slots β€” one per color, as the universe intended 🎨

and where's it defined? line 262 of rte_table_action.h. slay.

heads up: this is an array indexed by color, so RTE_COLORS entries, no more no less. don't come for me if you index out of range πŸ™ˆ

πŸ‘‘ Author πŸ‘‘

generated automatically by Doxygen for DPDK from the source code. not a human, just a very diligent little robot 🧚


πŸ“ the cute sign-off πŸ“

that's the whole page, bestie!! this gorgeousness shipped with DPDK, Version 25.11.3 πŸ’– go forth and meter responsibly, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from