mbox series

[v3,00/17] net/mlx5: HW steering PMD update

Message ID 20220930125315.5079-1-suanmingm@nvidia.com (mailing list archive)
Headers
Series net/mlx5: HW steering PMD update |

Message

Suanming Mou Sept. 30, 2022, 12:52 p.m. UTC
  The skeleton of mlx5 HW steering(HWS) has been updated into
upstream for pretty a long time, but not updated anymore due
to missing of the low-level steering layer code. Luckily,
better late than never, the steering layer finnaly comes[1].

This series will add more features to the existing PMD code:
 - FDB and metadata copy.
 - Modify field.
 - Meter color.
 - Counter.
 - Aging.
 - Action template pre-parser optimization.
 - Connection tracking.

Some features such as meter/aging/ct touches the public API,
and public API changes have been sent to ML much earily in
other threads in order not to be swallowed by this big series.

The dpends patches as below:
 [1]https://inbox.dpdk.org/dev/20220922190345.394-1-valex@nvidia.com/
 [2]https://inbox.dpdk.org/dev/20220921145409.511328-1-michaelba@nvidia.com/

---

 v3:
  - Fixed flow can't be aged out.
  - Fix error not be filled properly while table creat failed.
  - Remove transfer_mode in flow attributes before ethdev layer applied.
    https://patches.dpdk.org/project/dpdk/patch/20220928092425.68214-1-rongweil@nvidia.com/

 v2:
  - Remove the rte_flow patches as they will be integrated in other thread.
  - Fix compilation issues.
  - Make the patches be better organized.
   
---

Alexander Kozyrev (2):
  net/mlx5: add HW steering meter action
  net/mlx5: implement METER MARK indirect action for HWS

Bing Zhao (1):
  net/mlx5: add extended metadata mode for hardware steering

Dariusz Sosnowski (4):
  net/mlx5: add HW steering port action
  net/mlx5: support DR action template API
  net/mlx5: support device control for E-Switch default rule
  net/mlx5: support device control of representor matching

Gregory Etelson (2):
  net/mlx5: add HW steering VLAN push, pop and VID modify flow actions
  net/mlx5: support flow integrity in HWS group 0

Michael Baum (1):
  net/mlx5: add HWS AGE action support

Suanming Mou (6):
  net/mlx5: fix invalid flow attributes
  net/mlx5: fix IPv6 and TCP RSS hash fields
  net/mlx5: add shared header reformat support
  net/mlx5: add modify field hws support
  net/mlx5: add HW steering connection tracking support
  net/mlx5: add async action push and pull support

Xiaoyu Min (1):
  net/mlx5: add HW steering counter action

 doc/guides/nics/mlx5.rst             |    9 +
 drivers/common/mlx5/mlx5_devx_cmds.c |   50 +
 drivers/common/mlx5/mlx5_devx_cmds.h |   27 +
 drivers/common/mlx5/mlx5_prm.h       |   64 +-
 drivers/common/mlx5/version.map      |    1 +
 drivers/net/mlx5/linux/mlx5_os.c     |   76 +-
 drivers/net/mlx5/meson.build         |    1 +
 drivers/net/mlx5/mlx5.c              |  126 +-
 drivers/net/mlx5/mlx5.h              |  318 +-
 drivers/net/mlx5/mlx5_defs.h         |    5 +
 drivers/net/mlx5/mlx5_flow.c         |  415 +-
 drivers/net/mlx5/mlx5_flow.h         |  312 +-
 drivers/net/mlx5/mlx5_flow_aso.c     |  793 ++-
 drivers/net/mlx5/mlx5_flow_dv.c      | 1169 ++--
 drivers/net/mlx5/mlx5_flow_hw.c      | 7898 +++++++++++++++++++++++---
 drivers/net/mlx5/mlx5_flow_meter.c   |  771 ++-
 drivers/net/mlx5/mlx5_flow_verbs.c   |    8 +-
 drivers/net/mlx5/mlx5_hws_cnt.c      | 1198 ++++
 drivers/net/mlx5/mlx5_hws_cnt.h      |  703 +++
 drivers/net/mlx5/mlx5_trigger.c      |  254 +-
 drivers/net/mlx5/mlx5_tx.h           |    1 +
 drivers/net/mlx5/mlx5_txq.c          |   47 +
 drivers/net/mlx5/rte_pmd_mlx5.h      |   17 +
 drivers/net/mlx5/version.map         |    1 +
 24 files changed, 12619 insertions(+), 1645 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_hws_cnt.c
 create mode 100644 drivers/net/mlx5/mlx5_hws_cnt.h