net/mlx5: fix number of retries for UAR allocation
authorDekel Peled <dekelp@mellanox.com>
Mon, 3 Aug 2020 09:18:27 +0000 (12:18 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 5 Aug 2020 14:10:50 +0000 (16:10 +0200)
commit38a57046298da634dd6b8dec072e9fa435589d28
treeb043bde66ca9105fbcea252774f84fb2fd49cc88
parent6636b04b82897816e0e05134f55a578cb7e124bc
net/mlx5: fix number of retries for UAR allocation

Previous fix added definition of number of retries for UAR allocation.
This value is adequate for x86 systems with 4K pages.
On Power9 system with 64K pages the required value is 32.
This patch updates the defined value from 2 to 32.

Fixes: a0bfe9d56f74 ("net/mlx5: fix UAR memory mapping type")

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5_defs.h