Skip to content

net/mlx5: support more REG C registers

Gregory Etelson dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13net/mlx5/hws: Definer, add mlx5dr context to definer_conv_datadrivers/net/mlx5/hws/mlx5dr_definer.c+2 -20 replies
2/13net/mlx5: add flow_hw_get_reg_id_from_ctx()drivers/net/mlx5/mlx5_flow.h+22 -00 replies
3/13net/mlx5/hws: Definer, use flow_hw_get_reg_id_from_ctx function calldrivers/net/mlx5/hws/mlx5dr_definer.c+11 -50 replies
4/13net/mlx5: add rte_device parameter to locate HWS registersdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_dv.c +1 more+21 -130 replies
5/13net/mlx5: separate port REG_C registers usagedrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.c +6 more+78 -1750 replies
6/13net/mlx5: merge REG_C aliasesdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +4 more+22 -240 replies
7/13net/mlx5: initialize HWS flow tags registers in shared dev contextdrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h +2 more+84 -690 replies
8/13net/mlx5/hws: adding method to query rule hashdrivers/common/mlx5/mlx5_prm.h drivers/net/mlx5/hws/meson.build drivers/net/mlx5/hws/mlx5dr.h +7 more+152 -21 reply
9/13net/mlx5: add support for calc hashdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_flow.h drivers/net/mlx5/mlx5_flow_hw.c+70 -11 reply
10/13net/mlx5: fix insert by indexdrivers/net/mlx5/mlx5_flow_hw.c+2 -11 reply
11/13net/mlx5: fix query for NIC flow capdrivers/common/mlx5/mlx5_devx_cmds.c+1 -01 reply
12/13net/mlx5: add support for more registersdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +4 more+53 -131 reply
13/13net/mlx5: add validation support for tagsdrivers/net/mlx5/mlx5_flow_hw.c+27 -31 reply

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchOri KamDariusz SosnowskiSuanming Mou
SeriesA-b
1/13A-b
2/13A-b
3/13A-b
4/13A-b
5/13A-b
6/13A-b
7/13A-b
8/13A-b
9/13A-b
10/13A-b
11/13A-b
12/13A-b
13/13A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/13] net/mlx5: support more REG C registers

Support increased number of REG_Cx registers.

Gregory Etelson (7):
net/mlx5/hws: Definer, add mlx5dr context to definer_conv_data net/mlx5: add flow_hw_get_reg_id_from_ctx()
net/mlx5/hws: Definer, use flow_hw_get_reg_id_from_ctx function call net/mlx5: add rte_device parameter to locate HWS registers net/mlx5: separate port REG_C registers usage
net/mlx5: merge REG_C aliases
net/mlx5: initialize HWS flow tags registers in shared dev context

Itamar Gozlan (1):
net/mlx5/hws: adding method to query rule hash

Ori Kam (5):
net/mlx5: add support for calc hash
net/mlx5: fix insert by index
net/mlx5: fix query for NIC flow cap
net/mlx5: add support for more registers
net/mlx5: add validation support for tags

 drivers/common/mlx5/mlx5_devx_cmds.c   |  17 ++-
 drivers/common/mlx5/mlx5_devx_cmds.h   |   2 +-
 drivers/common/mlx5/mlx5_prm.h         |  56 ++++++-
 drivers/net/mlx5/hws/meson.build       |   1 +
 drivers/net/mlx5/hws/mlx5dr.h          |  26 ++++
 drivers/net/mlx5/hws/mlx5dr_cmd.c      |   3 +
 drivers/net/mlx5/hws/mlx5dr_cmd.h      |   3 +-
 drivers/net/mlx5/hws/mlx5dr_crc32.c    |  61 ++++++++
 drivers/net/mlx5/hws/mlx5dr_crc32.h    |  13 ++
 drivers/net/mlx5/hws/mlx5dr_definer.c  |  20 ++-
 drivers/net/mlx5/hws/mlx5dr_internal.h |   1 +
 drivers/net/mlx5/hws/mlx5dr_rule.c     |  37 +++++
 drivers/net/mlx5/hws/mlx5dr_rule.h     |   1 +
 drivers/net/mlx5/linux/mlx5_os.c       |  39 +----
 drivers/net/mlx5/mlx5.c                |  79 +++++++++-
 drivers/net/mlx5/mlx5.h                |  16 +-
 drivers/net/mlx5/mlx5_flow.c           |  63 +++++---
 drivers/net/mlx5/mlx5_flow.h           |  68 ++++++---
 drivers/net/mlx5/mlx5_flow_dv.c        |  24 ++-
 drivers/net/mlx5/mlx5_flow_hw.c        | 201 ++++++++-----------------
 drivers/net/mlx5/mlx5_flow_meter.c     |  14 +-
 21 files changed, 491 insertions(+), 254 deletions(-)
 create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.c
 create mode 100644 drivers/net/mlx5/hws/mlx5dr_crc32.h
Signature · 1 line
2.39.2