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_hash_rcu_config

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                          rte_hash_rcu_config(3)

Detailed Description

       HASH RCU QSBR configuration structure.

       Definition at line 101 of file rte_hash.h.

Field Documentation

structrte_rcu_qsbr*v
       RCU QSBR variable.

       Definition at line 102 of file rte_hash.h.

   enumrte_hash_qsbr_modemode
       Mode of RCU QSBR. RTE_HASH_QSBR_MODE_xxx '0' for default: create defer queue for reclaim.

       Definition at line 103 of file rte_hash.h.

   uint32_tdq_size
       RCU defer queue size. default: total hash table entries.

       Definition at line 107 of file rte_hash.h.

   uint32_ttrigger_reclaim_limit
       Threshold to trigger auto reclaim.

       Definition at line 111 of file rte_hash.h.

   uint32_tmax_reclaim_size
       Max entries to reclaim in one go. default: RTE_HASH_RCU_DQ_RECLAIM_MAX.

       Definition at line 112 of file rte_hash.h.

   void*key_data_ptr
       Pointer passed to the free function. Typically, this is the pointer to the data structure to which the
       resource to free (key-data) belongs. This can be NULL.

       Definition at line 116 of file rte_hash.h.

   rte_hash_free_key_datafree_key_data_func
       Function to call to free the resource (key-data).

       Definition at line 121 of file rte_hash.h.

Name

       rte_hash_rcu_config

Synopsis

       #include <rte_hash.h>

   DataFields
       struct rte_rcu_qsbr * v
       enum rte_hash_qsbr_modemode
       uint32_t dq_size
       uint32_t trigger_reclaim_limit
       uint32_t max_reclaim_size
       void * key_data_ptrrte_hash_free_key_datafree_key_data_func

See Also