net/mlx5: workaround MR creation for flow counter
authorMichael Baum <michaelba@nvidia.com>
Tue, 9 Nov 2021 12:36:12 +0000 (14:36 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 10 Nov 2021 14:50:44 +0000 (15:50 +0100)
commit8451e165b8b2f0503922b03c27a754d646a4e5b4
tree2e932eb2f31d562465ff755ced5f5217b12ba249
parent04b4e4cbc0352c6323f459d501d7bc0d82b2f1aa
net/mlx5: workaround MR creation for flow counter

Due to kernel driver / FW issues in direct MKEY creation using the DevX
API, this patch replaces the counter MR creation to use wrapped mkey
API.

Fixes: 5382d28c2110 ("net/mlx5: accelerate DV flow counter transactions")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Signed-off-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c