net/mlx5: fix Direct Verbs RSS hash field
authorYongseok Koh <yskoh@mellanox.com>
Tue, 13 Nov 2018 06:00:16 +0000 (08:00 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Nov 2018 23:35:53 +0000 (00:35 +0100)
commite31b6a4151bc8ef97b0fb1ac951b33d811d52969
tree9ba77dff41e2d134f1acf79380a7c084930cdf7f
parent12284221d4c5b768e9a1aa4ef61495edb902c93d
net/mlx5: fix Direct Verbs RSS hash field

As mlx5_flow_hashfields_adjust() refers to flow->rss, actions must be
translated prior to items like in Verbs. Otherwise, hash fields are not
correctly set.

Fixes: d02cb0691299 ("net/mlx5: add Direct Verbs translate actions")

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c