---
name: "rte_rcu_qsbr_dq_parameters"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_rcu_qsbr_dq_parameters"
---

# rte\_rcu\_qsbr\_dq\_parameters(3)

## NAME

rte\_rcu\_qsbr\_dq\_parameters

## SYNOPSIS

`#include <rte_rcu_qsbr.h>`

### Data Fields

const char \* **name**\
 uint32\_t **flags**\
 uint32\_t **size**\
 uint32\_t **esize**\
 uint32\_t **trigger\_reclaim\_limit**\
 uint32\_t **max\_reclaim\_size**\
 **rte\_rcu\_qsbr\_free\_resource\_t** **free\_fn**\
 void \* **p**\
 struct rte\_rcu\_qsbr \* **v**\

## Detailed Description

Parameters used when creating the defer queue.

Definition at line **148** of file **rte\_rcu\_qsbr.h**.

## Field Documentation

### const char\* name

Name of the queue.

Definition at line **149** of file **rte\_rcu\_qsbr.h**.

### uint32\_t flags

Flags to control API behaviors

Definition at line **151** of file **rte\_rcu\_qsbr.h**.

### uint32\_t size

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\_t esize

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\_t trigger\_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\_t max\_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\_t free\_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**.

### struct rte\_rcu\_qsbr\* v

RCU QSBR variable to use for this defer queue

Definition at line **187** of file **rte\_rcu\_qsbr.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
