Skip to content

net/mlx5: flow rework

Nelio Laranjeiro dpdk-dev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest21 patches 1 replyIn review
  2. v321 patches 2 repliesSuperseded
  3. v220 patches 34 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v112 patches3 repliesSuperseded

Changes in v4 from the cover letter

- fix compilation on redhat 7.5 without Mellanox OFED.
- avoid multiple pattern parsing for the expansion.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21net/mlx5: remove flow supportdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+80 -30160 replies
2/21net/mlx5: handle drop queues as regular queuesdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +2 more+308 -620 replies
3/21net/mlx5: replace verbs priorities by flowdrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c+18 -250 replies
4/21net/mlx5: support flow Ethernet item along with drop actiondrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_flow.c+627 -380 replies
5/21net/mlx5: add flow queue actiondrivers/net/mlx5/mlx5_flow.c+86 -110 replies
6/21net/mlx5: add flow stop/startdrivers/net/mlx5/mlx5_flow.c+20 -40 replies
7/21net/mlx5: add flow VLAN itemdrivers/net/mlx5/mlx5_flow.c+127 -00 replies
8/21net/mlx5: add flow IPv4 itemdrivers/net/mlx5/mlx5_flow.c+90 -00 replies
9/21net/mlx5: add flow IPv6 itemdrivers/net/mlx5/mlx5_flow.c+115 -00 replies
10/21net/mlx5: add flow UDP itemdrivers/net/mlx5/mlx5_flow.c+91 -60 replies
11/21net/mlx5: add flow TCP itemdrivers/net/mlx5/mlx5_flow.c+79 -00 replies
12/21net/mlx5: add mark/flag flow actiondrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+253 -00 replies
13/21net/mlx5: use a macro for the RSS key sizedrivers/net/mlx5/mlx5_ethdev.c drivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_prm.h +3 more+23 -180 replies
14/21net/mlx5: add RSS flow actiondrivers/net/mlx5/mlx5_flow.c+541 -1450 replies
15/21net/mlx5: remove useless arguments in hrxq APIdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxq.c drivers/net/mlx5/mlx5_rxtx.h+13 -380 replies
16/21net/mlx5: support inner RSS computationdrivers/net/mlx5/mlx5_flow.c+185 -600 replies
17/21net/mlx5: add flow VXLAN itemdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+163 -280 replies
18/21net/mlx5: add flow VXLAN-GPE itemdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+209 -150 replies
19/21net/mlx5: add flow GRE itemdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+192 -30 replies
20/21net/mlx5: add flow MPLS itemdrivers/net/mlx5/mlx5_flow.c drivers/net/mlx5/mlx5_rxtx.h+101 -30 replies
21/21net/mlx5: add count flow actiondrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c+244 -00 replies

Reviews trailers per patch

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

PatchYongseok Koh
1/21A-b
2/21A-b
3/21A-b
4/21A-b
5/21A-b
6/21A-b
7/21A-b
8/21A-b
9/21A-b
10/21A-b
11/21A-b
12/21A-b
13/21A-b
14/21A-b
15/21A-b
16/21A-b
17/21A-b
18/21A-b
19/21A-b
20/21A-b
21/21A-b

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

Read the v4 thread

Cover letter [PATCH v4 00/21] net/mlx5: flow rework

Re-work flow engine to support port redirection actions through TC.

This first series depends on [1] which is implemented in commit "net/mlx5: support inner RSS computation" and on [2]. Next series will bring the port redirection as announced[3].

[1] https://mails.dpdk.org/archives/dev/2018-July/107378.html
[2] https://mails.dpdk.org/archives/dev/2018-June/104192.html
[3] https://mails.dpdk.org/archives/dev/2018-May/103043.html

Changes in v4:

- fix compilation on redhat 7.5 without Mellanox OFED.
- avoid multiple pattern parsing for the expansion.

Changes in v3:

- remove redundant parameters in drop queues internal API.
- simplify the RSS expansion by only adding missing items in the pattern.
- document all functions.

Nelio Laranjeiro (21):
net/mlx5: remove flow support
net/mlx5: handle drop queues as regular queues net/mlx5: replace verbs priorities by flow net/mlx5: support flow Ethernet item along with drop action net/mlx5: add flow queue action
net/mlx5: add flow stop/start
net/mlx5: add flow VLAN item
net/mlx5: add flow IPv4 item
net/mlx5: add flow IPv6 item
net/mlx5: add flow UDP item
net/mlx5: add flow TCP item
net/mlx5: add mark/flag flow action
net/mlx5: use a macro for the RSS key size net/mlx5: add RSS flow action
net/mlx5: remove useless arguments in hrxq API net/mlx5: support inner RSS computation
net/mlx5: add flow VXLAN item
net/mlx5: add flow VXLAN-GPE item
net/mlx5: add flow GRE item
net/mlx5: add flow MPLS item
net/mlx5: add count flow action

 drivers/net/mlx5/mlx5.c        |   22 +-
 drivers/net/mlx5/mlx5.h        |   18 +-
 drivers/net/mlx5/mlx5_ethdev.c |   14 +-
 drivers/net/mlx5/mlx5_flow.c   | 4821 ++++++++++++++++----------------
 drivers/net/mlx5/mlx5_prm.h    |    3 +
 drivers/net/mlx5/mlx5_rss.c    |    7 +-
 drivers/net/mlx5/mlx5_rxq.c    |  281 +-
 drivers/net/mlx5/mlx5_rxtx.h   |   21 +-
 8 files changed, 2640 insertions(+), 2547 deletions(-)
Signature · 1 line
2.18.0