[PATCH 20.11] net/mlx5: workaround ASO memory region creation

Luca Boccassi bluca at debian.org
Wed Mar 9 15:14:01 CET 2022


On Wed, 2022-03-09 at 13:52 +0200, Michael Baum wrote:
> [ upstream commit cd414f81d1afdabf5cf13a1d9e859877af176ab9 ]
> 
> 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")
> 
> Signed-off-by: Michael Baum <michaelba at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>  drivers/common/mlx5/linux/mlx5_common_verbs.c |  1 -
>  drivers/net/mlx5/mlx5.h                       | 10 +-
>  drivers/net/mlx5/mlx5_flow_age.c              | 97 ++++++++-----------
>  3 files changed, 41 insertions(+), 67 deletions(-)

Thanks, applied and pushed.

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list