rte_flow_action_meter(3)

πŸ’– NAME πŸ’–

rte_flow_action_meter β€” bestie, this is the flow action that does traffic metering and policing, and yes she's serving ✨

This is a page from the DPDK library functions manual, aka rte_flow_action_meter(3), and she is literally a struct / action definition so let's get into it 🫢


✨ SYNOPSIS ✨

#include <rte_flow.h>

🌸 Data Fields 🌸

  • uint32_t mtr_id

πŸ‘‘ Detailed Description πŸ‘‘

RTE_FLOW_ACTION_TYPE_METER

Okay so, Traffic metering and policing (MTR). That's the whole vibe. 🚦

The way this works: packets that get matched by items of this type can go one of two ways β€”

  • they can be dropped πŸ’€, or
  • they can be passed to the next item, with their color set by the MTR object 🌈

That's it, that's the tea.

Definition at line 3566 of file rte_flow.h.

πŸŽ€ Field Documentation πŸŽ€

uint32_t mtr_id

The MTR object ID, and no cap, it has to be one that was created with rte_mtr_create(). Don't just make one up bestie, she needs to exist first πŸ’…

Definition at line 3567 of file rte_flow.h.

πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for DPDK from the source code. Not me having a robot write my autograph but ok, iconic behavior honestly πŸ€–βœ¨


Okay that's the whole page bestie, love that for us πŸ’– This little beauty is from DPDK, Version 25.11.3 β€” go forth and meter your traffic responsibly, mwah πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from