constchar*name
Name of the queue.
Definition at line 149 of file rte_rcu_qsbr.h.
uint32_tflags
Flags to control API behaviors
Definition at line 151 of file rte_rcu_qsbr.h.
uint32_tsize
Number of entries in queue. Typically, this will be the same as the maximum number of entries supported
in the lock free data structure. Data structures with unbounded number of entries is not supported
currently.
Definition at line 153 of file rte_rcu_qsbr.h.
uint32_tesize
Size (in bytes) of each element in the defer queue. This has to be multiple of 4B.
Definition at line 160 of file rte_rcu_qsbr.h.
uint32_ttrigger_reclaim_limit
Trigger automatic reclamation after the defer queue has at least these many resources waiting. This auto
reclamation is triggered in rte_rcu_qsbr_dq_enqueue API call. If this is greater than 'size', auto
reclamation is not triggered. If this is set to 0, auto reclamation is triggered in every call to
rte_rcu_qsbr_dq_enqueue API.
Definition at line 164 of file rte_rcu_qsbr.h.
uint32_tmax_reclaim_size
When automatic reclamation is enabled, reclaim at the max these many resources. This should contain a
valid value, if auto reclamation is on. Setting this to 'size' or greater will reclaim all possible
resources currently on the defer queue.
Definition at line 174 of file rte_rcu_qsbr.h.
rte_rcu_qsbr_free_resource_tfree_fn
Function to call to free the resource.
Definition at line 180 of file rte_rcu_qsbr.h.
void*p
Pointer passed to the free function. Typically, this is the pointer to the data structure to which the
resource to free belongs. This can be NULL.
Definition at line 182 of file rte_rcu_qsbr.h.
structrte_rcu_qsbr*v
RCU QSBR variable to use for this defer queue
Definition at line 187 of file rte_rcu_qsbr.h.