rte_flow_port_attr(3)
π rte_flow_port_attr(3) β the flow engine's resource settings, bestie
okay so this is a page from the DPDK Library Functions Manual and it's literally the struct that tells the flow engine how many of each thing to set up. yes it's a struct not a function, don't come for me, the manual just names it like that π«Ά
#include <rte_flow.h>
β¨ Data Fields β¨
here's the whole cast, main character energy only:
uint32_t nb_countersuint32_t nb_aging_objectsuint32_t nb_metersuint32_t nb_conn_tracksuint16_t host_port_iduint32_t nb_quotasuint32_t flags
πΈ Detailed Description πΈ
β οΈ Warning β EXPERIMENTAL: this API may change without prior notice. so likeβ¦ don't get too attached bestie π it could get a glow-up at any time.
this struct is the flow engine resources settings. and here's the iconic bit: the zero value means on demand resource allocations only. so if you zero it out, nothing's pre-reserved β it just gets allocated when you actually need it. lowkey efficient π
Definition at line 5588 of file rte_flow.h.
π Field Documentation π
uint32_t nb_counters
Number of counters to configure. that's how many you want, periodt.
See also: RTE_FLOW_ACTION_TYPE_COUNT
Definition at line 5593 of file rte_flow.h.
uint32_t nb_aging_objects
Number of aging objects to configure. yes, things age, it's giving passing of time π¦
See also: RTE_FLOW_ACTION_TYPE_AGE
Definition at line 5598 of file rte_flow.h.
uint32_t nb_meters
Number of traffic meters to configure. we're measuring the vibes fr fr.
See also: RTE_FLOW_ACTION_TYPE_METER
Definition at line 5603 of file rte_flow.h.
uint32_t nb_conn_tracks
Number of connection trackings to configure. keeping tabs on every connection like the group chat admin you are π
See also: RTE_FLOW_ACTION_TYPE_CONNTRACK
Definition at line 5608 of file rte_flow.h.
uint16_t host_port_id
Port to base shared objects on. note the type bestie β it's uint16_t, not uint32_t like the rest, she's built different β¨
Definition at line 5612 of file rte_flow.h.
uint32_t nb_quotas
Maximum number of quota actions. the ceiling, the limit, the "no more than this" of it all.
See also: RTE_FLOW_ACTION_TYPE_QUOTA
Definition at line 5617 of file rte_flow.h.
uint32_t flags
Port flags (RTE_FLOW_PORT_FLAG_*). the little switchboard of options, iykyk.
Definition at line 5621 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. not a human, just a very diligent robot doing its thing π€π
and that's the whole page, bestie! this one comes to you from DPDK Version 26.03.0, dated in that footer of hers, and the manual page itself is rte_flow_port_attr(3) πβ¨ go forth and configure your resources responsibly π«Ά
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms