Skip to content

net/mlx5: support flow API

Nelio Laranjeiro dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 6 repliesIn review
  2. v46 patches 0 repliesSuperseded

Changes in v5 from the cover letter

- Fix masking when only spec is present in item structure.
- Fix first element of flow items array.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net/mlx5: add preliminary flow API supportdrivers/net/mlx5/Makefile drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_fdir.c +1 more+156 -00 replies
2/6net/mlx5: support basic flow items and actionsdrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_trigger.c+930 -294 replies
3/6net/mlx5: support VLAN flow itemdrivers/net/mlx5/mlx5_flow.c+61 -10 replies
4/6net/mlx5: support VXLAN flow itemdrivers/net/mlx5/mlx5_flow.c+72 -60 replies
5/6net/mlx5: support mark flow actiondrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_prm.h drivers/net/mlx5/mlx5_rxtx.c +1 more+160 -30 replies
6/6net/mlx5: extend IPv4 flow itemdrivers/net/mlx5/mlx5_flow.c+32 -80 replies

Reviews trailers per patch

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

PatchAdrien Mazarguil
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

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

Read the v5 thread

Cover letter [PATCH v5 0/6] net/mlx5: support flow API

Changes in v5:

- Fix masking when only spec is present in item structure.
- Fix first element of flow items array.

Changes in v4:

- Simplify flow parsing by using a graph.
- Add VXLAN flow item.
- Add mark flow action.
- Extend IPv4 filter item (Type of service, Next Protocol ID).

Changes in v3:

- Fix Ethernet ether type issue.

Changes in v2:

- Fix several issues.
- Support VLAN filtering.

Nelio Laranjeiro (6):
net/mlx5: add preliminary flow API support
net/mlx5: support basic flow items and actions
net/mlx5: support VLAN flow item
net/mlx5: support VXLAN flow item
net/mlx5: support mark flow action
net/mlx5: extend IPv4 flow item

 drivers/net/mlx5/Makefile       |    1 +
 drivers/net/mlx5/mlx5.h         |   19 +
 drivers/net/mlx5/mlx5_fdir.c    |   15 +
 drivers/net/mlx5/mlx5_flow.c    | 1248 +++++++++++++++++++++++++++++++++++++++
 drivers/net/mlx5/mlx5_prm.h     |   70 ++-
 drivers/net/mlx5/mlx5_rxtx.c    |   12 +-
 drivers/net/mlx5/mlx5_rxtx.h    |    3 +-
 drivers/net/mlx5/mlx5_trigger.c |    2 +
 8 files changed, 1367 insertions(+), 3 deletions(-)
 create mode 100644 drivers/net/mlx5/mlx5_flow.c
Signature · 1 line
2.1.4