net/mlx5: workaround ASO memory region creation
authorMichael Baum <michaelba@nvidia.com>
Mon, 26 Apr 2021 12:48:10 +0000 (15:48 +0300)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 3 May 2021 07:09:50 +0000 (09:09 +0200)
commitcd414f81d1afdabf5cf13a1d9e859877af176ab9
tree2314f153ceae615f5a225252015c856f7d694ef4
parentc967098a4c0aafa0cb244ab9423fdea3d943d1ab
net/mlx5: workaround ASO memory region creation

Due to kernel issue in direct MKEY creation using the DevX API for
physical memory, this patch replaces the ASO MR creation to use Verbs
API.

Fixes: f935ed4b645a ("net/mlx5: support flow hit action for aging")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/linux/mlx5_common_verbs.c
drivers/common/mlx5/windows/mlx5_common_os.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow_aso.c