logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_fbk_hash_table

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                           rte_fbk_hash_table(3)

Detailed Description

       The four-byte key hash table structure.

       Definition at line 69 of file rte_fbk_hash.h.

Field Documentation

charname[RTE_FBK_HASH_NAMESIZE]
       Name of the hash.

       Definition at line 70 of file rte_fbk_hash.h.

   uint32_tentries
       Total number of entries.

       Definition at line 71 of file rte_fbk_hash.h.

   uint32_tentries_per_bucket
       Number of entries in a bucket.

       Definition at line 72 of file rte_fbk_hash.h.

   uint32_tused_entries
       How many entries are used.

       Definition at line 73 of file rte_fbk_hash.h.

   uint32_tbucket_mask
       To find which bucket the key is in.

       Definition at line 74 of file rte_fbk_hash.h.

   uint32_tbucket_shift
       Convert bucket to table offset.

       Definition at line 75 of file rte_fbk_hash.h.

   rte_fbk_hash_fnhash_func
       The hash function.

       Definition at line 76 of file rte_fbk_hash.h.

   uint32_tinit_val
       For initialising hash function.

       Definition at line 77 of file rte_fbk_hash.h.

   unionrte_fbk_hash_entryt[]
       A flat table of all buckets.

       Definition at line 80 of file rte_fbk_hash.h.

Name

       rte_fbk_hash_table

Synopsis

       #include <rte_fbk_hash.h>

   DataFields
       char name [RTE_FBK_HASH_NAMESIZE]
       uint32_t entries
       uint32_t entries_per_bucket
       uint32_t used_entries
       uint32_t bucket_mask
       uint32_t bucket_shiftrte_fbk_hash_fnhash_func
       uint32_t init_val
       union rte_fbk_hash_entryt []

See Also