rte_flow_t...table_attr(3)

πŸ’– NAME

rte_flow_template_table_attr β€” bestie, it's the attributes struct for a flow template table πŸ’…

This one lives in the Library Functions Manual, so you already know it's a C API thing, not a command you type at a shell. (iykyk 🫢)


✨ 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 build your whole personality on it, okay? 😭 It could shift under you.

It's the table attributes struct. That's the vibe. πŸ¦‹

Defined at line 5953 of file rte_flow.h.


πŸ¦‹ FIELD DOCUMENTATION

🌸 struct rte_flow_attr flow_attr

The flow attributes that get used in every single rule generated from this table. Each one. All of them. No skipping ✨

Defined at line 5957 of file rte_flow.h.

🌟 uint32_t nb_flows

The maximum number of flow rules this table can hold. That's the ceiling, bestie πŸŽ€

Defined at line 5961 of file rte_flow.h.

πŸ’« uint32_t specialize

Optional hint flags for driver optimization 🧚

Like, the effect can vary between different drivers β€” so it's giving "different strokes for different drivers," fr fr. And here's the important part: the functionality must not rely on the hints. They are hints. Only hints. πŸ™ˆ

The value is composed with RTE_FLOW_TABLE_SPECIALIZE_* based on your application's design choices.

πŸ’€ And if you misuse the hints? They may mislead the driver, which may result in an undefined behavior. So be normal about it.

Defined at line 5970 of file rte_flow.h.

πŸ‘‘ enum rte_flow_table_insertion_type insertion_type

The insertion type for the flow rules. Periodt.

Defined at line 5974 of file rte_flow.h.

🌈 enum rte_flow_table_hash_func hash_func

The hash calculation function used for the packet matching. Lowkey the main character of the matching process ✨

Defined at line 5978 of file rte_flow.h.


πŸ’œ AUTHOR

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a bestie, just a very diligent little document generator πŸ€–πŸ’–


Okay that's the whole page, you ate it 🫢 This was pulled from DPDK Version 25.11.3, and yes, that's the version and the date vibe baked right in 🌸 slay, go read the header file now ✨

πŸ“¦ where this page comes from