numam-dpdk/drivers/common/mlx5
Dekel Peled a4e6ea97a5 common/mlx5: fix RSS key copy to TIR context
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: c3aea272ee ("net/mlx5: create advanced Rx object via DevX")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-04-21 13:57:05 +02:00
..
Makefile vdpa/mlx5: introduce Mellanox vDPA driver 2020-02-05 09:51:21 +01:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
mlx5_common_utils.h common/mlx5: introduce common library 2020-02-05 09:51:20 +01:00
mlx5_common.c common/mlx5: fix build without dlopen option 2020-03-18 10:21:41 +01:00
mlx5_common.h pci: remove unneeded includes in public header file 2020-03-16 15:45:45 +01:00
mlx5_devx_cmds.c common/mlx5: fix RSS key copy to TIR context 2020-04-21 13:57:05 +02:00
mlx5_devx_cmds.h common/mlx5: fix RSS key copy to TIR context 2020-04-21 13:57:05 +02:00
mlx5_glue.c common/mlx5: replace alignas keyword 2020-04-16 18:07:30 +02:00
mlx5_glue.h net/mlx5: create relaxed ordering memory regions 2020-04-21 13:57:05 +02:00
mlx5_nl.c common/mlx5: replace alignas keyword 2020-04-16 18:07:30 +02:00
mlx5_nl.h common/mlx5: support ROCE disable through Netlink 2020-02-05 09:51:20 +01:00
mlx5_prm.h net/mlx5: create relaxed ordering memory regions 2020-04-21 13:57:05 +02:00
rte_common_mlx5_version.map common/mlx5: fix ABI version 2020-02-12 09:26:43 +01:00