rte_flow_query_count(3)

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

πŸ’– 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 the hits field is set.
  • uint32_t bytes_set:1 β€” tells you if the bytes field is set.
  • uint32_t reserved:29 β€” reserved bits, and yes there are 29 of 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