numam-dpdk/drivers/common
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
..
cpt replace hot attributes 2020-04-16 18:30:58 +02:00
dpaax replace hot attributes 2020-04-16 18:30:58 +02:00
iavf common/iavf: support VSI mapping table 2020-04-21 13:57:05 +02:00
mlx5 common/mlx5: fix RSS key copy to TIR context 2020-04-21 13:57:05 +02:00
mvep build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx net/octeontx: add application domain validation 2019-11-26 07:49:30 +01:00
octeontx2 replace hot attributes 2020-04-16 18:30:58 +02:00
qat compress/qat: support IM buffer too small operation 2020-04-19 17:15:14 +02:00
Makefile net/ice: add DCF hardware initialization 2020-04-21 13:57:05 +02:00
meson.build common/mlx5: introduce common library 2020-02-05 09:51:20 +01:00