rte_flow_p...plate_attr(3)
π NAME π
okay so bestie, welcome to the rte_flow_p...plate_attr(3) page β yes that's literally the title, it's from the Library Functions Manual, and the whole star of the show is rte_flow_pattern_template_attr. it's giving "struct with four bitfields and a lot of feelings." let's get into it π«Ά
β¨ SYNOPSIS β¨
pull it in like this, no cap:
#include <rte_flow.h>
π Data Fields π
the whole squad, and yes every single one is a uint32_t bitfield of width 1:
uint32_t relaxed_matching:1uint32_t ingress:1uint32_t egress:1uint32_t transfer:1
π₯ Detailed Description π₯
β οΈ Warning β EXPERIMENTAL: this API may change without prior notice. like, fr fr, it can shift under you. don't get too attached π
so what even is this? it's the Flow pattern template attributes β the little vibe-check settings that ride along with a pattern template. that's the whole personality.
Definition at line 5690 of file rte_flow.h. π
πΈ Field Documentation πΈ
π¦ uint32_t relaxed_matching
the relaxed matching policy, aka the chill setting. here's how it goes:
- if it's
1, matching is performed only on items with themaskmember set, and matching on protocol layers specified without any masks is skipped. - if it's
0, matching on protocol layers specified without any masks is done as well β and this is the standard behaviour of Flow API now. iconic default energy π
Definition at line 5698 of file rte_flow.h. π
π uint32_t ingress
flow direction for the pattern template, and heads up: at least one direction must be specified (yes, that's a real rule, not a suggestion π). this one means the pattern is valid for rules applied to ingress traffic. come on in πͺ
Definition at line 5704 of file rte_flow.h. π
β uint32_t egress
pattern valid for rules applied to egress traffic. bye bestie, leaving the building π
Definition at line 5706 of file rte_flow.h. π
π uint32_t transfer
pattern valid for rules applied to transfer traffic. main character energy, moving between worlds β¨
Definition at line 5708 of file rte_flow.h. π
π Author π
Generated automatically by Doxygen for DPDK from the source code. so nobody hand-wrote this babe, the tooling did it and honestly? it ate. π€π
okay that's the whole page, you ate that read π β this gorgeous specimen is DPDK Version 26.03.0, brought to you by the same rte_flow_p...plate_attr(3) header up top, so go forth and template your patterns, bestie ππ¦π
π¦ 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