regex/mlx5: fix UAR allocation
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Tue, 10 Nov 2020 16:04:17 +0000 (16:04 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 14 Nov 2020 09:56:30 +0000 (10:56 +0100)
commite8f05161eb6b11d75a6402b342ff251cc6eb75b6
treed2d418c89d3a89a26b289d4daff6f719f06a92ea
parent9cc0e99c81ab01f5afb4959a0fb43c4404bc2414
regex/mlx5: fix UAR allocation

This patch provides the UAR allocation workaround for the
hosts where UAR allocation with Write-Combining memory
mapping type fails.

Fixes: b34d816363b5 ("regex/mlx5: support rules import")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/regex/mlx5/mlx5_regex.c