DPDK  17.02.1
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-vf/main.c, examples/l3fwd/l3fwd_em.c, examples/performance-thread/l3fwd-thread/main.c, and examples/server_node_efd/node/node.c.

Definition at line 79 of file rte_hash.h.

Field Documentation

const char* name
uint32_t entries

Total hash table entries.

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

Definition at line 81 of file rte_hash.h.

uint32_t reserved

Unused field. Should be set to 0

Definition at line 82 of file rte_hash.h.

uint32_t key_len

Length of hash key.

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

Definition at line 83 of file rte_hash.h.

rte_hash_function hash_func

Primary Hash function used to calculate hash.

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

Definition at line 84 of file rte_hash.h.

uint32_t hash_func_init_val

Init value used by hash_func.

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

Definition at line 85 of file rte_hash.h.

int socket_id
uint8_t extra_flag

Indicate if additional parameters are present.

Definition at line 87 of file rte_hash.h.


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