DPDK  24.11.0-rc3
Data Fields
rte_hash_parameters Struct Reference

#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.

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/l3fwd-power/main.c, examples/l3fwd/l3fwd_em.c, and examples/server_node_efd/efd_node/node.c.

Definition at line 81 of file rte_hash.h.

Field Documentation

◆ name

const char* name

◆ entries

uint32_t entries

Total hash table entries.

Examples:
examples/ipsec-secgw/ipsec-secgw.c, and examples/server_node_efd/efd_node/node.c.

Definition at line 83 of file rte_hash.h.

◆ reserved

uint32_t reserved

Unused field. Should be set to 0

Definition at line 84 of file rte_hash.h.

◆ key_len

uint32_t key_len

Length of hash key.

Examples:
examples/ipsec-secgw/ipsec-secgw.c.

Definition at line 85 of file rte_hash.h.

◆ hash_func

rte_hash_function hash_func

Primary Hash function used to calculate hash.

Examples:
examples/ipsec-secgw/ipsec-secgw.c.

Definition at line 86 of file rte_hash.h.

◆ hash_func_init_val

uint32_t hash_func_init_val

Init value used by hash_func.

Examples:
examples/ipsec-secgw/ipsec-secgw.c.

Definition at line 87 of file rte_hash.h.

◆ socket_id

int socket_id

◆ extra_flag

uint8_t extra_flag

Indicate if additional parameters are present.

Definition at line 89 of file rte_hash.h.


The documentation for this struct was generated from the following file: