Skip to content

common/mlx5: share DevX resources creations

Michael Baum dpdk-dev 3 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest19 patches 1 replyApplied
  2. v217 patches 0 repliesSuperseded
  3. v117 patches 0 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/19common/mlx5: fix completion queue entry size configurationdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/net/mlx5/mlx5_devx.c +1 more+2 -110 replies
2/19net/mlx5: remove CQE padding device argumentdoc/guides/nics/mlx5.rst drivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/linux/mlx5_verbs.c +3 more+1 -450 replies
3/19net/mlx5: fix ASO SQ creation error flowdrivers/net/mlx5/mlx5_flow_age.c+2 -10 replies
4/19common/mlx5: share DevX CQ creationdrivers/common/mlx5/meson.build drivers/common/mlx5/mlx5_common_devx.c drivers/common/mlx5/mlx5_common_devx.h +3 more+194 -00 replies
5/19regex/mlx5: move DevX CQ creation to commondrivers/regex/mlx5/mlx5_regex.c drivers/regex/mlx5/mlx5_regex.h drivers/regex/mlx5/mlx5_regex_control.c +1 more+20 -900 replies
6/19vdpa/mlx5: move DevX CQ creation to commondrivers/vdpa/mlx5/mlx5_vdpa.h drivers/vdpa/mlx5/mlx5_vdpa_event.c drivers/vdpa/mlx5/mlx5_vdpa_virtq.c+28 -700 replies
7/19net/mlx5: move rearm and clock queue CQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_rxtx.c drivers/net/mlx5/mlx5_txpp.c+36 -1140 replies
8/19net/mlx5: move ASO CQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_age.c+19 -710 replies
9/19net/mlx5: move Tx CQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_devx.c+29 -1550 replies
10/19net/mlx5: move Rx CQ creation to commondrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_devx.c +1 more+42 -1150 replies
11/19common/mlx5: enhance page size configurationdrivers/common/mlx5/mlx5_devx_cmds.c+23 -300 replies
12/19common/mlx5: share DevX SQ creationdrivers/common/mlx5/mlx5_common_devx.c drivers/common/mlx5/mlx5_common_devx.h drivers/common/mlx5/rte_common_mlx5_exports.def +1 more+148 -20 replies
13/19regex/mlx5: move DevX SQ creation to commondrivers/regex/mlx5/mlx5_regex.h drivers/regex/mlx5/mlx5_regex_control.c drivers/regex/mlx5/mlx5_regex_fastpath.c+55 -1200 replies
14/19net/mlx5: move rearm and clock queue SQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_txpp.c+36 -1190 replies
15/19net/mlx5: move Tx SQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_devx.c+40 -1300 replies
16/19net/mlx5: move ASO SQ creation to commondrivers/common/mlx5/mlx5_common_devx.h drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow_age.c+30 -730 replies
17/19common/mlx5: share DevX RQ creationdrivers/common/mlx5/mlx5_common_devx.c drivers/common/mlx5/mlx5_common_devx.h drivers/common/mlx5/rte_common_mlx5_exports.def +1 more+132 -00 replies
18/19net/mlx5: move Rx RQ creation to commondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_devx.c drivers/net/mlx5/mlx5_rxtx.h+37 -1480 replies
19/19common/mlx5: remove doorbell allocation APIdrivers/common/mlx5/mlx5_common.c drivers/common/mlx5/mlx5_common.h drivers/common/mlx5/rte_common_mlx5_exports.def +1 more+0 -1510 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

PatchMatan Azrad
1/19A-b
2/19A-b
3/19A-b
4/19A-b
5/19A-b
6/19A-b
7/19A-b
8/19A-b
9/19A-b
10/19A-b
11/19A-b
12/19A-b
13/19A-b
14/19A-b
15/19A-b
16/19A-b
17/19A-b
18/19A-b
19/19A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 00/19] common/mlx5: share DevX resources creations

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
Signature · 1 line
1.8.3.1