Re: [dpdk-dev] [PATCH] common/mlx5: fix RSS key copy to TIR context

2020-03-30 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dekel Peled > Sent: Sunday, March 29, 2020 12:18 PM > To: Matan Azrad ; Slava Ovsiienko > ; Raslan Darawsheh > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix RSS key copy to TIR context > > In function mlx5_devx_cmd_create_tir(), t

[dpdk-dev] [PATCH] common/mlx5: fix RSS key copy to TIR context

2020-03-29 Thread Dekel Peled
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 ml