rte_flow_port_attr(3)
β¨ rte_flow_port_attr β¨
okay bestie so this is the manual page for rte_flow_port_attr (that's the title, and it lives in the Library Functions Manual β section 3 energy π
). buckle up, it's a whole struct and we're going field by field, no skips, periodt.
π«Ά NAME π«Ά
rte_flow_port_attr β the struct that holds your flow engine's resource settings, and every single data field it's made of. it's giving "short page, long receipts" ngl.
πΈ SYNOPSIS πΈ
#include <rte_flow.h>
π Data Fields π
here's the whole squad, in order, exactly as they appear:
uint32_t nb_counters
uint32_t nb_aging_objects
uint32_t nb_meters
uint32_t nb_conn_tracks
uint16_t host_port_id
uint32_t nb_quotas
uint32_t flags
π Detailed Description π
β οΈ Warning: EXPERIMENTAL: this API may change without prior notice. so likeβ¦ it will switch up on you, bestie. do not get attached, fr fr. π
so what even is this? it's the flow engine resources settings. and here's the iconic little detail: the zero value means on demand resource allocations only. zero = "i'll allocate when i need it, no hoarding" β¨. anything else = you're pre-committing, main character behavior.
π Defined at line 5589 of file rte_flow.h.
π¦ Field Documentation π¦
π« uint32_t nb_counters
Number of counters to configure. that's it, that's the field. how many counters do you want, babes? π
See also: RTE_FLOW_ACTION_TYPE_COUNT
π Definition at line 5594 of file rte_flow.h.
π« uint32_t nb_aging_objects
Number of aging objects to configure. everything ages eventually, even your flow entries π§
See also: RTE_FLOW_ACTION_TYPE_AGE
π Definition at line 5599 of file rte_flow.h.
π« uint32_t nb_meters
Number of traffic meters to configure. we're measuring, we're monitoring, we're thriving π
See also: RTE_FLOW_ACTION_TYPE_METER
π Definition at line 5604 of file rte_flow.h.
π« uint32_t nb_conn_tracks
Number of connection trackings to configure. yes, tracking. no, not in a toxic way. it's a networking feature, chill π
See also: RTE_FLOW_ACTION_TYPE_CONNTRACK
π Definition at line 5609 of file rte_flow.h.
π« uint16_t host_port_id
Port to base shared objects on. that's the anchor port, the home base, the one everything else is built on top of π«Ά (note the type bestie β this one is uint16_t, not uint32_t, do not play with it.)
π Definition at line 5613 of file rte_flow.h.
π« uint32_t nb_quotas
Maximum number of quota actions. the maximum, okay? we're capping it on purpose π
See also: RTE_FLOW_ACTION_TYPE_QUOTA
π Definition at line 5618 of file rte_flow.h.
π« uint32_t flags
Port flags (RTE_FLOW_PORT_FLAG_*). a whole family of flags, and this field is where you pass them in. iykyk β¨
π Definition at line 5622 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. so like, no human wrote this, it was birthed by a doc generator and honestly? she ate π
and that's the whole page, bestie π this was DPDK Version 25.11.3, and yeah, the footer still reads rte_flow_port_attr(3) because that's just her name. go configure some counters, love u, bye πβ¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms