rte_flow_t...table_attr(3)

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

✨ NAME ✨

rte_flow_template_table_attr β€” bestie, this is the struct that holds all the attributes for a template table in DPDK's flow API πŸ’… (it lives in the rte_flow.h manual, section 3, so you know exactly where to find it again πŸŽ€)


🌸 SYNOPSIS 🌸

#include <rte_flow.h>

πŸ¦‹ Data Fields

  • struct rte_flow_attr flow_attr
  • uint32_t nb_flows
  • uint32_t specialize
  • enum rte_flow_table_insertion_type insertion_type
  • enum rte_flow_table_hash_func hash_func

πŸ”₯ Detailed Description πŸ”₯

⚠️ Warning β€” EXPERIMENTAL: this API may change without prior notice. So like… don't get too attached, okay? 😭 It could ghost you at any patch release.

Okay so this whole thing is the Table attributes, fr fr. The way that this struct is just the receipts for a template table πŸ“‹βœ¨

Definition at line 5952 of file rte_flow.h.


πŸ’– Field Documentation πŸ’–

🫢 struct rte_flow_attr flow_attr

The flow attributes that get used in each and every rule generated from this table, periodt. Every rule birthed from this table inherits these vibes πŸ‘‘

Definition at line 5956 of file rte_flow.h.

🫢 uint32_t nb_flows

The maximum number of flow rules that this table can hold β€” like a guest list, and this is the capacity, no cap 🎟️

Definition at line 5960 of file rte_flow.h.

🫢 uint32_t specialize

Optional hint flags for driver optimization, iykyk. Lowkey the effect may vary in the different drivers, so don't come for me if your fav driver does something else πŸ™ˆ

Important: the functionality must not rely on the hints. Nope. They're a hint, not a promise, bestie. The value is composed with RTE_FLOW_TABLE_SPECIALIZE_* based on application design choices β€” so it's a little DIY situation, you pick the flags that match your design 🎨

πŸ’€ Misused hints may mislead the driver, and it may result in an undefined behavior. So like… be careful, okay? This is genuinely the dangerous one.

Definition at line 5969 of file rte_flow.h.

🫢 enum rte_flow_table_insertion_type insertion_type

The insertion type for flow rules β€” how the rules get slotted in, iconically 🧚

Definition at line 5973 of file rte_flow.h.

🫢 enum rte_flow_table_hash_func hash_func

The hash calculation function used for the packet matching β€” the math-y main character of the matching process πŸ”₯

Definition at line 5977 of file rte_flow.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not written by a human, just a very diligent little generator doing its thing πŸ€–πŸ’œ


Okay that's the whole page, bestie β€” no skips, no skimming, every field accounted for πŸŽ€βœ¨

This was DPDK, Version 26.03.0, and you were reading rte_flow_t...table_attr(3) from the Library Functions Manual β€” slay, go build something iconic πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from