net/mlx5: HW steering PMD update
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest18 patches 19 repliesIn review
- v518 patches 0 repliesSuperseded
- v418 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 17 patches | 0 replies | Superseded | |
| v2 | 17 patches | 0 replies | Superseded | |
| v1 | 27 patches | 0 replies | Superseded |
Changes in v6 from the cover letter
- Rebase to the latest version.
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | net/mlx5: fix invalid flow attributesdrivers/ | +26 | 1 reply | |
| 2/18 | net/mlx5: fix IPv6 and TCP RSS hash fieldsdrivers/ drivers/ | +62 | 1 reply | |
| 3/18 | net/mlx5: add shared header reformat supportdrivers/ drivers/ | +39 | 1 reply | |
| 4/18 | net/mlx5: add modify field hws supportdoc/ drivers/ drivers/ +4 more | +1009 | 1 reply | |
| 5/18 | net/mlx5: add HW steering port actiondoc/ drivers/ drivers/ +7 more | +1595 | 1 reply | |
| 6/18 | net/mlx5: add extended metadata mode for hardware steeringdoc/ doc/ drivers/ +7 more | +877 | 1 reply | |
| 7/18 | net/mlx5: add HW steering meter actiondoc/ drivers/ drivers/ +4 more | +1111 | 1 reply | |
| 8/18 | net/mlx5: add HW steering counter actiondoc/ drivers/ drivers/ +12 more | +1831 | 1 reply | |
| 9/18 | net/mlx5: support DR action template APIdrivers/ drivers/ drivers/ +3 more | +543 | 1 reply | |
| 10/18 | net/mlx5: add HW steering connection tracking supportdoc/ doc/ drivers/ +7 more | +619 | 1 reply | |
| 11/18 | net/mlx5: add HW steering VLAN push, pop and VID modify flow actionsdrivers/ drivers/ drivers/ +1 more | +463 | 1 reply | |
| 12/18 | net/mlx5: implement METER MARK indirect action for HWSdoc/ doc/ doc/ +8 more | +778 | 1 reply | |
| 13/18 | net/mlx5: add HWS AGE action supportdoc/ drivers/ drivers/ +9 more | +2127 | 1 reply | |
| 14/18 | net/mlx5: add async action push and pull supportdrivers/ drivers/ drivers/ +4 more | +626 | 1 reply | |
| 15/18 | net/mlx5: support flow integrity in HWS group 0drivers/ drivers/ drivers/ | +90 | 1 reply | |
| 16/18 | net/mlx5: support device control for E-Switch default ruledoc/ drivers/ drivers/ +9 more | +288 | 1 reply | |
| 17/18 | net/mlx5: support device control of representor matchingdoc/ drivers/ drivers/ +5 more | +794 | 1 reply | |
| 18/18 | net/mlx5: create control flow rules with HWSdoc/ drivers/ drivers/ +3 more | +881 | 1 reply |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Viacheslav Ovsiienko |
|---|---|
| 1/18 | A-b |
| 2/18 | A-b |
| 3/18 | A-b |
| 4/18 | A-b |
| 5/18 | A-b |
| 6/18 | A-b |
| 7/18 | A-b |
| 8/18 | A-b |
| 9/18 | A-b |
| 10/18 | A-b |
| 11/18 | A-b |
| 12/18 | A-b |
| 13/18 | A-b |
| 14/18 | A-b |
| 15/18 | A-b |
| 16/18 | A-b |
| 17/18 | A-b |
| 18/18 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 00/18] net/mlx5: HW steering PMD update
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.
- Control flow.
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/[email protected]/
---
v6:
- Rebase to the latest version.
v5:
- Rebase to the latest version.
v4:
- Disable aging due to the flow age API change still in progress.
https://patches.dpdk.org/project/dpdk/cover/[email protected]/
- Add control flow for HWS.
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/[email protected]/
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 (5):
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 net/mlx5: create control flow rules with HWS
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/features/default.ini | 1 + doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 43 +- doc/guides/rel_notes/release_22_11.rst | 8 +- drivers/common/mlx5/mlx5_devx_cmds.c | 50 + drivers/common/mlx5/mlx5_devx_cmds.h | 27 + drivers/common/mlx5/mlx5_prm.h | 22 +- drivers/common/mlx5/version.map | 1 + drivers/net/mlx5/linux/mlx5_os.c | 78 +- drivers/net/mlx5/meson.build | 1 + drivers/net/mlx5/mlx5.c | 126 +- drivers/net/mlx5/mlx5.h | 322 +- drivers/net/mlx5/mlx5_defs.h | 5 + drivers/net/mlx5/mlx5_flow.c | 409 +- drivers/net/mlx5/mlx5_flow.h | 335 +- drivers/net/mlx5/mlx5_flow_aso.c | 797 ++- drivers/net/mlx5/mlx5_flow_dv.c | 1128 +-- drivers/net/mlx5/mlx5_flow_hw.c | 8789 +++++++++++++++++++++--- drivers/net/mlx5/mlx5_flow_meter.c | 776 ++- drivers/net/mlx5/mlx5_flow_verbs.c | 8 +- drivers/net/mlx5/mlx5_hws_cnt.c | 1247 ++++ drivers/net/mlx5/mlx5_hws_cnt.h | 703 ++ drivers/net/mlx5/mlx5_rxq.c | 3 +- drivers/net/mlx5/mlx5_trigger.c | 272 +- drivers/net/mlx5/mlx5_tx.h | 1 + drivers/net/mlx5/mlx5_txq.c | 47 + drivers/net/mlx5/mlx5_utils.h | 10 +- drivers/net/mlx5/rte_pmd_mlx5.h | 17 + drivers/net/mlx5/version.map | 1 + 29 files changed, 13589 insertions(+), 1640 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_hws_cnt.c create mode 100644 drivers/net/mlx5/mlx5_hws_cnt.h
Signature · 1 line
2.25.1