Hi, Pattan, Reshma
On 2023/9/6 1:07, Pattan, Reshma wrote:
Instead of above function you can declare const array of strings as below to
map hash function names.
static const char * const hf_names[] = {
[RTE_ETH_HASH_FUNCTION_SIMPLE_XOR] = " simple_xor ",
[RTE_ETH_HASH_FUNCTI
> -Original Message-
> From: Jie Hai
>
> +static const char *
> +rss_func_to_str(enum rte_eth_hash_function func) {
> + switch (func) {
> + case RTE_ETH_HASH_FUNCTION_SIMPLE_XOR:
> + return "simple_xor";
> + case RTE_ETH_HASH_FUNCTION_TOEPLITZ:
> + r
2 matches
Mail list logo