rte_flow_a...meter_mark(3)

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

rte_flow_action_meter_mark(3) πŸ’…βœ¨

okay bestie, welcome to the rte_flow_action_meter_mark(3) page from the Library Functions Manual β€” no cap, it's giving very specific struct energy and we're gonna get through it together 🫢


🌸 NAME 🌸

rte_flow_action_meter_mark β€” literally the name, that's the whole vibe πŸ’–

✨ SYNOPSIS ✨

#include <rte_flow.h>

πŸŽ€ Data Fields πŸŽ€

struct rte_flow_meter_profile * profile
int color_mode
int state

🌈 Detailed Description 🌈

RTE_FLOW_ACTION_TYPE_METER_MARK is the action type here, and it's all about Traffic metering and marking (MTR).

It meters a packet stream and marks its packets either green, yellow, or red according to the specified profile. The policy is optional and may be specified for defining subsequent actions based on a color assigned by MTR. Alternatively, the METER_COLOR item may be used for this.

Definition at line 4157 of file rte_flow.h.

🌸 Field Documentation 🌸

πŸ¦‹ struct rte_flow_meter_profile* profile πŸ¦‹

Okay so this one starts with < β€” literally: < Profile config retrieved with rte_mtr_profile_get(). Policy config retrieved with rte_mtr_policy_get().

Definition at line 4160 of file rte_flow.h.

πŸ¦‹ int color_mode πŸ¦‹

Metering mode: 0 - Color-Blind, 1 - Color-Aware. Those are the two modes, slay πŸŽ€

Definition at line 4164 of file rte_flow.h.

πŸ¦‹ int state πŸ¦‹

Metering state: 0 - Disabled, 1 - Enabled.

Definition at line 4166 of file rte_flow.h.

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for DPDK from the source code.


okay that's the whole page, bestie 🫢 β€” brought to you by DPDK, Version 26.03.0, and the rte_flow_a...meter_mark(3) manual page. byeee πŸ’…βœ¨

πŸ“¦ where this page comes from