rte_flow_query_count(3)
π NAME π
okay so this is the manual page for rte_flow_query_count(3), and it is literally the blueprint for the count-query struct. bestie, it's giving βsmall struct, big jobβ energy. π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <rte_flow.h>
π Data Fields π
uint32_t reset:1β the reset bit, slay.uint32_t hits_set:1β tells you if thehitsfield is set.uint32_t bytes_set:1β tells you if thebytesfield is set.uint32_t reserved:29β reserved bits, and yes there are29of them.uint64_t hitsβ the hits count.uint64_t bytesβ the bytes count.
πΈ Detailed Description πΈ
so this is the query structure for RTE_FLOW_ACTION_TYPE_COUNT (query) β the whole point is retrieving and resetting flow rule counters. iconic behavior, no cap. π
the struct's definition line is exactly: Definition at line 3459 of file rte_flow.h.
π Field Documentation π
π
uint32_t reset
reset counters after query [in].
definition line: Definition at line 3460 of file rte_flow.h.
π¦ uint32_t hits_set
the hits field is set [out].
definition line: Definition at line 3461 of file rte_flow.h.
πΈ uint32_t bytes_set
the bytes field is set [out].
definition line: Definition at line 3462 of file rte_flow.h.
π uint32_t reserved
reserved, and it must be zero [in, out]. do not play with this one, bestie. π«Ά
definition line: Definition at line 3463 of file rte_flow.h.
β uint64_t hits
number of hits for this rule [out].
definition line: Definition at line 3464 of file rte_flow.h.
π₯ uint64_t bytes
number of bytes through this rule [out].
definition line: Definition at line 3465 of file rte_flow.h.
π¦ Author π¦
the author section literally says: Generated automatically by Doxygen for DPDK from the source code. so yeah, Doxygen did that. π»β¨
cute little sign-off: this page is from DPDK, Version 26.03.0, and the footer is rte_flow_query_count(3). the footer doesn't give a date, so that's the whole tea β bye 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