CNDP  22.08.0
cne_hash_parameters Struct Reference

#include <cne_hash.h>

Data Fields

const char * name
 
uint32_t entries
 
uint32_t reserved
 
uint32_t key_len
 
cne_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 69 of file cne_hash.h.

Field Documentation

◆ name

const char* name

Name of the hash.

Definition at line 70 of file cne_hash.h.

◆ entries

uint32_t entries

Total hash table entries.

Definition at line 71 of file cne_hash.h.

◆ reserved

uint32_t reserved

Unused field. Should be set to 0

Definition at line 72 of file cne_hash.h.

◆ key_len

uint32_t key_len

Length of hash key.

Definition at line 73 of file cne_hash.h.

◆ hash_func

cne_hash_function hash_func

Primary Hash function used to calculate hash.

Definition at line 74 of file cne_hash.h.

◆ hash_func_init_val

uint32_t hash_func_init_val

Init value used by hash_func.

Definition at line 75 of file cne_hash.h.

◆ socket_id

int socket_id

NUMA Socket ID for memory.

Definition at line 76 of file cne_hash.h.

◆ extra_flag

uint8_t extra_flag

Indicate if additional parameters are present.

Definition at line 77 of file cne_hash.h.


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