---
name: "rte_hash_rcu_config"
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_hash_rcu_config"
---

# rte\_hash\_rcu\_config(3)

## NAME

rte\_hash\_rcu\_config

## SYNOPSIS

`#include <rte_hash.h>`

### Data Fields

struct rte\_rcu\_qsbr \* **v**\
 enum **rte\_hash\_qsbr\_mode** **mode**\
 uint32\_t **dq\_size**\
 uint32\_t **trigger\_reclaim\_limit**\
 uint32\_t **max\_reclaim\_size**\
 void \* **key\_data\_ptr**\
 **rte\_hash\_free\_key\_data** **free\_key\_data\_func**\

## Detailed Description

HASH RCU QSBR configuration structure.

Definition at line **101** of file **rte\_hash.h**.

## Field Documentation

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

RCU QSBR variable.

Definition at line **102** of file **rte\_hash.h**.

### enum rte\_hash\_qsbr\_mode mode

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\_t dq\_size

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

Definition at line **107** of file **rte\_hash.h**.

### uint32\_t trigger\_reclaim\_limit

Threshold to trigger auto reclaim.

Definition at line **111** of file **rte\_hash.h**.

### uint32\_t max\_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\_data free\_key\_data\_func

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

Definition at line **121** of file **rte\_hash.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
