On 16/10/2021 10:12, Xueming Li wrote:
Adds DevX supports of PRM shared receive memory pool(RMP) object.
RMP is used to support shared Rx queue. Multiple RQ could share same
RMP. Memory buffers are supplied to RMP.

This patch makes RMP RQ optional, created only if mlx5_devx_rq.rmp
is set.

Signed-off-by: Xueming Li <[email protected]>
---
  drivers/common/mlx5/mlx5_common_devx.c | 296 +++++++++++++++++++++----
  drivers/common/mlx5/mlx5_common_devx.h |  19 +-
  drivers/common/mlx5/mlx5_devx_cmds.c   |  52 +++++
  drivers/common/mlx5/mlx5_devx_cmds.h   |  16 ++
  drivers/common/mlx5/mlx5_prm.h         |  85 ++++++-
  drivers/common/mlx5/version.map        |   1 +
  drivers/net/mlx5/mlx5_devx.c           |   4 +-
  7 files changed, 425 insertions(+), 48 deletions(-)

Acked-by: Ray Kinsella <[email protected]>

Reply via email to