net/mlx5: fix flow tag hash list conversion
authorMatan Azrad <matan@mellanox.com>
Thu, 21 Nov 2019 11:27:57 +0000 (11:27 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 26 Nov 2019 17:05:15 +0000 (18:05 +0100)
commit1ef4cdef26822fc1adb05dd10878c35d48bbc9ab
treec28fa31a0eef444165fa78c38831b60fe8134824
parent2286291df1007a1447dd3fc854e12a790a8353ba
net/mlx5: fix flow tag hash list conversion

When DR is not supported and DV is supported, tag action still can be
used by the metadata feature.

Wrongly, the tag hash list was not created what caused failure in
metadata action creation.

Create the tag hash list for each DV case.

Fixes: 860897d2895a ("net/mlx5: reorganize flow tables with hash list")

Signed-off-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.c