rte_eth_fdir_stats(3)

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

πŸ’… rte_eth_fdir_stats

okay so bestie, this is a page from the Library Functions Manual for rte_eth_fdir_stats β€” and yes, it's a struct, not a function, don't let the name gaslight you 🫢. It lives in DPDK, it's all about flow director stats, and we're gonna go through every single field together. no skipping. periodt.


✨ SYNOPSIS ✨

#include <rte_eth_ctrl.h>

πŸŽ€ Data Fields

  • uint32_t collision
  • uint32_t free
  • uint32_t maxhash
  • uint32_t maxlen
  • uint64_t add
  • uint64_t remove
  • uint64_t f_add
  • uint64_t f_remove
  • uint32_t guarant_cnt
  • uint32_t best_cnt

🌸 Detailed Description 🌸

So what is this thing? It's a structure used to define the statistics of flow director πŸ’«. Like, it's the little container that holds all the numbers you'd ever want to know about your flow director's mood.

It supports RTE_ETH_FILTER_FDIR with RTE_ETH_FILTER_STATS operation. iykyk.

Definition at line 471 of file rte_eth_ctrl.h. πŸ“


πŸ‘‘ Field Documentation πŸ‘‘

okay now the main event, field by field, let's go πŸ”₯

πŸ’– uint32_t collision

Number of filters with collision. (they bumped into each other, it's giving crowded elevator 😭)

Definition at line 472 of file rte_eth_ctrl.h.

πŸ’– uint32_t free

Number of free filters. (the available ones, the ones living their best unbothered life ✨)

Definition at line 473 of file rte_eth_ctrl.h.

πŸ’– uint32_t maxhash

The lookup hash value of the added filter that updated the value of the MAXLEN field. (yes that's the whole description, no I'm not paraphrasing it away, we keep the lore 🧚)

Definition at line 474 of file rte_eth_ctrl.h.

πŸ’– uint32_t maxlen

Longest linked list of filters. (the main character of the linked lists πŸ‘‘)

Definition at line 477 of file rte_eth_ctrl.h.

πŸ’– uint64_t add

Number of added filters. βž•

Definition at line 478 of file rte_eth_ctrl.h.

πŸ’– uint64_t remove

Number of removed filters. βž–

Definition at line 479 of file rte_eth_ctrl.h.

πŸ’– uint64_t f_add

Number of failed added filters. πŸ’€ (the add attempts that did NOT slay)

Definition at line 480 of file rte_eth_ctrl.h.

πŸ’– uint64_t f_remove

Number of failed removed filters. πŸ’€ (same vibe, removal edition)

Definition at line 481 of file rte_eth_ctrl.h.

πŸ’– uint32_t guarant_cnt

Number of filters in guaranteed spaces. πŸ›‘οΈ

Definition at line 482 of file rte_eth_ctrl.h.

πŸ’– uint32_t best_cnt

Number of filters in best effort spaces. 🌈

Definition at line 483 of file rte_eth_ctrl.h.


πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for DPDK from the source code. (not a human, not a bestie, just a doc generator doing its thing πŸ€–πŸ’œ)


lowkey important reminder: every field above is listed exactly as it appears in the original, same types, same names, same line numbers. no cap. 🫢

and that's the whole page! 🌟 this was DPDK, Version 26.03.0, dated with that rte_eth_fdir_stats(3) footer energy β€” mwah, go forth and read your flow director stats, icon πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from