rte_flow_port_attr(3)

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

πŸ’… 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_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… 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