NtHashRefConfig_v0_s

Reference Documentation

product_line_custom
IntelĀ® PAC
Napatech SmartNIC
category
Reference Information
Napatech Software Suite: NtHashRefConfig_v0_s Struct Reference
NtHashRefConfig_v0_s Struct Reference

#include <hashref.h>

Data Fields

enum NtAdapterType_e adapterType
 The adapter type. More...
 
union Ntfpgaid_u fpgaid
 The FPGA ID of the adapter to emulate in the hash value calculation. More...
 
enum NtHashRefHashMode_e hashmode
 The hash mode to use, see NtHashRefHashMode_e for available hash modes. More...
 
uint32_t hashmask [10]
 Hash mask - default in NTPL is 0xFFFFFFFF for all hash words. More...
 
uint32_t streams
 Number of streams to distribute to. More...
 
uint32_t seed
 Hash seed as defined in ntservice.ini. Default is 0xFFFFFFFF. More...
 

Detailed Description

Hash reference configuration

Definition at line 87 of file hashref.h.

Field Documentation

enum NtAdapterType_e NtHashRefConfig_v0_s::adapterType

The adapter type.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 88 of file hashref.h.

Referenced by set_adapter_info().

union Ntfpgaid_u NtHashRefConfig_v0_s::fpgaid

The FPGA ID of the adapter to emulate in the hash value calculation.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 89 of file hashref.h.

Referenced by set_adapter_info().

enum NtHashRefHashMode_e NtHashRefConfig_v0_s::hashmode

The hash mode to use, see NtHashRefHashMode_e for available hash modes.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 90 of file hashref.h.

Referenced by set_adapter_info().

uint32_t NtHashRefConfig_v0_s::hashmask[10]

Hash mask - default in NTPL is 0xFFFFFFFF for all hash words.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 91 of file hashref.h.

Referenced by set_adapter_info().

uint32_t NtHashRefConfig_v0_s::streams

Number of streams to distribute to.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 92 of file hashref.h.

Referenced by set_adapter_info().

uint32_t NtHashRefConfig_v0_s::seed

Hash seed as defined in ntservice.ini. Default is 0xFFFFFFFF.

Examples:
hashref/calc_single_hash/calc_single_hash.c.

Definition at line 93 of file hashref.h.

Referenced by set_adapter_info().


The documentation for this struct was generated from the following file:
  • include/ntutil/hashref.h