net/mlx5: fix hashed list size for tunnel flow groups
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Wed, 24 Feb 2021 08:15:14 +0000 (10:15 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 24 Feb 2021 09:22:25 +0000 (10:22 +0100)
commitc86e5b90125890f950892e890e8859d87d63140b
tree50a9babd2a3d2d9761a6212cd7d1e60b09d87a35
parent198aba383316162e98c6e0c3c53c525ddca0b071
net/mlx5: fix hashed list size for tunnel flow groups

The hashed list size must be the power of 2, otherwise the
adjustment is applied and the warning message is emitted.
This patch provides the correct list size to eliminate the
warning.

Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow.c