a4e6ea97a5
In function mlx5_devx_cmd_create_tir(), the 40 bytes of RSS key are
copied in 10 iterations, 4 bytes each time using the MLX5_SET macro.
As result the RSS key is copied into TIR context in swapped byte order.
This patch fixes the issue, using memcpy() to copy the RSS key as is.
The struct member mlx5_devx_tir_attr.rx_hash_toeplitz_key is updated
to byte array type.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
mlx5_common_utils.h | ||
mlx5_common.c | ||
mlx5_common.h | ||
mlx5_devx_cmds.c | ||
mlx5_devx_cmds.h | ||
mlx5_glue.c | ||
mlx5_glue.h | ||
mlx5_nl.c | ||
mlx5_nl.h | ||
mlx5_prm.h | ||
rte_common_mlx5_version.map |