rte_eth_fdir_stats(3)
๐ rte_eth_fdir_stats(3) ๐
okay bestie, so this page is living in the Library Functions Manual section, and it's about rte_eth_fdir_stats โ yes the name is literally the same as the page, that's just how DPDK do it, iconic behaviour honestly โจ
๐ NAME ๐
rte_eth_fdir_stats โ the struct that holds all the flow director tea โ
๐ธ 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
โจ DESCRIPTION โจ
So basically this whole struct is the vibe check for flow director stats ๐
It's used to define the statistics of flow director, and it's got your back for RTE_ETH_FILTER_FDIR when you hit it with the RTE_ETH_FILTER_STATS operation. that's the whole job. slay.
It's defined at line 471 of file rte_eth_ctrl.h โ like, that's where it lives, that's its address, no cap ๐
๐ FIELD DOCUMENTATION ๐
okay this is the part where we meet everybody one by one. group pic time ๐ธ
๐ uint32_t collision
Number of filters with collision. they bumped into each other ๐ญ it happens.
Defined at line 472 of file rte_eth_ctrl.h.
๐ uint32_t free
Number of free filters. these ones are just chilling, unbothered, available ๐ฆ
Defined 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. so like, whichever filter came in and changed MAXLEN, this is its hash. the main character who caused the plot twist ๐
Defined at line 474 of file rte_eth_ctrl.h.
๐ uint32_t maxlen
Longest linked list of filters. the longest one. the record holder. periodt ๐
Defined at line 477 of file rte_eth_ctrl.h.
๐ uint64_t add
Number of added filters. it's giving "counted them all" ๐งฎ
Defined at line 478 of file rte_eth_ctrl.h.
๐ uint64_t remove
Number of removed filters. bye bye bestie ๐
Defined at line 479 of file rte_eth_ctrl.h.
๐ uint64_t f_add
Number of failed added filters. the adds that did NOT eat ๐
Defined at line 480 of file rte_eth_ctrl.h.
๐ uint64_t f_remove
Number of failed removed filters. tried to leave, couldn't, tragic ๐
Defined at line 481 of file rte_eth_ctrl.h.
๐ uint32_t guarant_cnt
Number of filters in guaranteed spaces. guaranteed, so like, guaranteed ๐ซถ
Defined at line 482 of file rte_eth_ctrl.h.
๐ uint32_t best_cnt
Number of filters in best effort spaces. they're doing their best, we love them for it ๐
Defined at line 483 of file rte_eth_ctrl.h.
๐ AUTHOR ๐
Generated automatically by Doxygen for DPDK from the source code. so like, no human wrote this, the machine did, and honestly? it ate ๐คโจ
and that's the whole page bestie! this was DPDK, Version 25.11.3, dated with all the love, and the page you just read was rte_eth_fdir_stats(3) โ go forth and count your filters, you absolute icon ๐๐๐
๐ฆ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 ยท BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms