net/mlx5: fix limit of direct rules tables number
authorDekel Peled <dekelp@mellanox.com>
Thu, 1 Aug 2019 13:22:58 +0000 (16:22 +0300)
committerRaslan Darawsheh <rasland@mellanox.com>
Tue, 6 Aug 2019 15:42:12 +0000 (17:42 +0200)
commitb857ed01ca30e1a264f47ce7369c5e8c691626b4
tree109cd2b705b60b89a97039572a6a1bf3476891e0
parentdfedf3e3f9d281fbe493cc98fd9ef82bec42fdec
net/mlx5: fix limit of direct rules tables number

MLX5 PMD limits the number of SW steering tables to 32.
This patch updates the limit to 65535, to allow wide range of values.

Fixes: e2b4925ef7c1 ("net/mlx5: support Direct Rules E-Switch")
Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_dv.c