DPDK  19.08.0-rc0
Data Fields
rte_eth_hash_global_conf Struct Reference

#include <rte_eth_ctrl.h>

Data Fields

enum rte_eth_hash_function hash_func
 
uint64_t sym_hash_enable_mask [RTE_SYM_HASH_MASK_ARRAY_SIZE]
 
uint64_t valid_bit_mask [RTE_SYM_HASH_MASK_ARRAY_SIZE]
 

Detailed Description

A structure used to set or get global hash function configurations which include symmetric hash enable per flow type and hash function type. Each bit in sym_hash_enable_mask[] indicates if the symmetric hash of the corresponding flow type is enabled or not. Each bit in valid_bit_mask[] indicates if the corresponding bit in sym_hash_enable_mask[] is valid or not. For the configurations gotten, it also means if the flow type is supported by hardware or not.

Definition at line 729 of file rte_eth_ctrl.h.

Field Documentation

◆ hash_func

enum rte_eth_hash_function hash_func

Hash function type

Definition at line 730 of file rte_eth_ctrl.h.

◆ sym_hash_enable_mask

uint64_t sym_hash_enable_mask[RTE_SYM_HASH_MASK_ARRAY_SIZE]

Bit mask for symmetric hash enable per flow type

Definition at line 732 of file rte_eth_ctrl.h.

◆ valid_bit_mask

uint64_t valid_bit_mask[RTE_SYM_HASH_MASK_ARRAY_SIZE]

Bit mask indicates if the corresponding bit is valid

Definition at line 734 of file rte_eth_ctrl.h.


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