mbox series

[v1,0/4] mlx5 MR refactor

Message ID 20200616094446.7152-1-ophirmu@mellanox.com (mailing list archive)
Headers
Series mlx5 MR refactor |

Message

Ophir Munk June 16, 2020, 9:44 a.m. UTC
  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
  

Comments

Raslan Darawsheh June 17, 2020, 10:13 a.m. UTC | #1
Hi,
> -----Original Message-----
> From: Ophir Munk <ophirmu@mellanox.com>
> Sent: Tuesday, June 16, 2020 12:45 PM
> To: dev@dpdk.org; Matan Azrad <matan@mellanox.com>; Raslan
> Darawsheh <rasland@mellanox.com>
> Cc: Ophir Munk <ophirmu@mellanox.com>
> Subject: [PATCH v1 0/4] mlx5 MR refactor
> 
> 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

Series applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh