mbox series

[v3,00/19] common/mlx5: share DevX resources creations

Message ID 1609921181-5019-1-git-send-email-michaelba@nvidia.com (mailing list archive)
Headers
Series common/mlx5: share DevX resources creations |

Message

Michael Baum Jan. 6, 2021, 8:19 a.m. UTC
  Due to many instances of creating CQ SQ and RQ on DevX, they move to common.

v1: Initial release.
v2: Bug fix (sending wrong umem id to HW).
v3: Rebase + Bug fix (sending wrong CQE size to HW).

Michael Baum (19):
  common/mlx5: fix completion queue entry size configuration
  net/mlx5: remove CQE padding device argument
  net/mlx5: fix ASO SQ creation error flow
  common/mlx5: share DevX CQ creation
  regex/mlx5: move DevX CQ creation to common
  vdpa/mlx5: move DevX CQ creation to common
  net/mlx5: move rearm and clock queue CQ creation to common
  net/mlx5: move ASO CQ creation to common
  net/mlx5: move Tx CQ creation to common
  net/mlx5: move Rx CQ creation to common
  common/mlx5: enhance page size configuration
  common/mlx5: share DevX SQ creation
  regex/mlx5: move DevX SQ creation to common
  net/mlx5: move rearm and clock queue SQ creation to common
  net/mlx5: move Tx SQ creation to common
  net/mlx5: move ASO SQ creation to common
  common/mlx5: share DevX RQ creation
  net/mlx5: move Rx RQ creation to common
  common/mlx5: remove doorbell allocation API

 doc/guides/nics/mlx5.rst                        |  18 -
 drivers/common/mlx5/meson.build                 |   1 +
 drivers/common/mlx5/mlx5_common.c               | 122 -----
 drivers/common/mlx5/mlx5_common.h               |  23 -
 drivers/common/mlx5/mlx5_common_devx.c          | 387 ++++++++++++++
 drivers/common/mlx5/mlx5_common_devx.h          |  70 +++
 drivers/common/mlx5/mlx5_devx_cmds.c            |  57 +--
 drivers/common/mlx5/mlx5_devx_cmds.h            |   1 -
 drivers/common/mlx5/rte_common_mlx5_exports.def |  10 +-
 drivers/common/mlx5/version.map                 |  10 +-
 drivers/common/mlx5/windows/mlx5_win_ext.h      |   1 +
 drivers/net/mlx5/linux/mlx5_os.c                |  12 -
 drivers/net/mlx5/linux/mlx5_verbs.c             |   2 +-
 drivers/net/mlx5/mlx5.c                         |  14 -
 drivers/net/mlx5/mlx5.h                         |  55 +-
 drivers/net/mlx5/mlx5_devx.c                    | 645 +++++-------------------
 drivers/net/mlx5/mlx5_flow_age.c                | 173 ++-----
 drivers/net/mlx5/mlx5_rxtx.c                    |   2 +-
 drivers/net/mlx5/mlx5_rxtx.h                    |   8 -
 drivers/net/mlx5/mlx5_txpp.c                    | 290 +++--------
 drivers/net/mlx5/windows/mlx5_os.c              |   7 -
 drivers/regex/mlx5/mlx5_regex.c                 |   6 -
 drivers/regex/mlx5/mlx5_regex.h                 |  17 +-
 drivers/regex/mlx5/mlx5_regex_control.c         | 242 +++------
 drivers/regex/mlx5/mlx5_regex_fastpath.c        |  18 +-
 drivers/vdpa/mlx5/mlx5_vdpa.h                   |  10 +-
 drivers/vdpa/mlx5/mlx5_vdpa_event.c             |  86 +---
 drivers/vdpa/mlx5/mlx5_vdpa_virtq.c             |   2 +-
 28 files changed, 859 insertions(+), 1430 deletions(-)
 create mode 100644 drivers/common/mlx5/mlx5_common_devx.c
 create mode 100644 drivers/common/mlx5/mlx5_common_devx.h
  

Comments

Thomas Monjalon Jan. 12, 2021, 9:39 p.m. UTC | #1
06/01/2021 09:19, Michael Baum:
> Michael Baum (19):
>   common/mlx5: fix completion queue entry size configuration
>   net/mlx5: remove CQE padding device argument
>   net/mlx5: fix ASO SQ creation error flow
>   common/mlx5: share DevX CQ creation
>   regex/mlx5: move DevX CQ creation to common
>   vdpa/mlx5: move DevX CQ creation to common
>   net/mlx5: move rearm and clock queue CQ creation to common
>   net/mlx5: move ASO CQ creation to common
>   net/mlx5: move Tx CQ creation to common
>   net/mlx5: move Rx CQ creation to common
>   common/mlx5: enhance page size configuration
>   common/mlx5: share DevX SQ creation
>   regex/mlx5: move DevX SQ creation to common
>   net/mlx5: move rearm and clock queue SQ creation to common
>   net/mlx5: move Tx SQ creation to common
>   net/mlx5: move ASO SQ creation to common
>   common/mlx5: share DevX RQ creation
>   net/mlx5: move Rx RQ creation to common
>   common/mlx5: remove doorbell allocation API

Applied to next-net-mlx with indent fixed in symbol files (.map & .def), thanks.