[dpdk-dev] [PATCH v1 0/4] mlx5 MR refactor

Ophir Munk ophirmu at mellanox.com
Tue Jun 16 11:44:42 CEST 2020


This patch series is part of preparing mlx5 PMD to compile and run under
multiple OSs. This series handles memory region refactoring.

Ophir Munk (4):
  common/mlx5: remove MR struct dependency on ibv
  common/mlx5: export MR verbs operations
  net/mlx5: add MR callbacks in per-device cache
  mlx5/linux: add MR callbacks to verbs operations struct

 drivers/common/mlx5/Makefile                    |  1 +
 drivers/common/mlx5/linux/meson.build           |  1 +
 drivers/common/mlx5/linux/mlx5_common_verbs.c   | 87 +++++++++++++++++++++++++
 drivers/common/mlx5/mlx5_common_mr.c            | 60 ++++++++---------
 drivers/common/mlx5/mlx5_common_mr.h            | 33 ++++++++--
 drivers/common/mlx5/rte_common_mlx5_version.map |  3 +
 drivers/net/mlx5/Makefile                       |  1 +
 drivers/net/mlx5/linux/meson.build              |  1 +
 drivers/net/mlx5/linux/mlx5_os.c                | 19 ++++++
 drivers/net/mlx5/linux/mlx5_verbs.c             | 78 ++++++++++++++++++++++
 drivers/net/mlx5/linux/mlx5_verbs.h             | 15 +++++
 drivers/net/mlx5/mlx5.c                         |  2 +
 drivers/net/mlx5/mlx5.h                         |  2 +
 drivers/net/mlx5/mlx5_mr.c                      |  6 +-
 14 files changed, 268 insertions(+), 41 deletions(-)
 create mode 100644 drivers/common/mlx5/linux/mlx5_common_verbs.c
 create mode 100644 drivers/net/mlx5/linux/mlx5_verbs.c
 create mode 100644 drivers/net/mlx5/linux/mlx5_verbs.h

-- 
2.8.4



More information about the dev mailing list