---
name: "rte_hash_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_hash_parameters"
---

# rte\_hash\_parameters(3)

## NAME

rte\_hash\_parameters

## SYNOPSIS

`#include <rte_hash.h>`

### Data Fields

const char \* **name**\
 uint32\_t **entries**\
 uint32\_t **reserved**\
 uint32\_t **key\_len**\
 **rte\_hash\_function** **hash\_func**\
 uint32\_t **hash\_func\_init\_val**\
 int **socket\_id**\
 uint8\_t **extra\_flag**\

## Detailed Description

Parameters used when creating the hash table.

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

## Field Documentation

### const char\* name

Name of the hash.

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

### uint32\_t entries

Total hash table entries.

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

### uint32\_t reserved

Unused field. Should be set to 0

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

### uint32\_t key\_len

Length of hash key.

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

### rte\_hash\_function hash\_func

Primary Hash function used to calculate hash.

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

### uint32\_t hash\_func\_init\_val

Init value used by hash\_func.

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

### int socket\_id

NUMA Socket ID for memory.

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

### uint8\_t extra\_flag

Indicate if additional parameters are present.

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

## Author

Generated automatically by Doxygen for DPDK from the source code.
