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