net/mlx5: support multiple-thread flow operations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest posting 2/234 patches 1 replyIn review
- v5 posting 1/234 patches 0 repliesSuperseded
- v434 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 34 patches | 0 replies | Superseded | |
| v2 | 25 patches | 0 replies | Superseded | |
| v1 | 25 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- fix table refcnt leak issue.
Patches in v5 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/34 | net/mlx5: use thread safe index pool for flow objectsdrivers/ | +11 | 1 reply | |
| 2/34 | net/mlx5: use thread specific flow workspacedrivers/ drivers/ drivers/ +4 more | +171 | 0 replies | |
| 3/34 | net/mlx5: reuse flow Id as hairpin Iddrivers/ drivers/ drivers/ +1 more | +10 | 0 replies | |
| 4/34 | net/mlx5: indexed pool supports zero size entrydrivers/ | +2 | 0 replies | |
| 5/34 | net/mlx5: use indexed pool as ID generatordrivers/ drivers/ drivers/ +4 more | +78 | 0 replies | |
| 6/34 | net/mlx5: make rte flow list thread safedrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 7/34 | net/mlx5: make meter action thread safedrivers/ drivers/ | +39 | 0 replies | |
| 8/34 | net/mlx5: make VLAN network interface thread safedrivers/ drivers/ | +6 | 0 replies | |
| 9/34 | net/mlx5: create global jump actiondrivers/ drivers/ | +17 | 0 replies | |
| 10/34 | net/mlx5: create global default miss actiondrivers/ drivers/ drivers/ | +13 | 0 replies | |
| 11/34 | net/mlx5: create global drop actiondrivers/ drivers/ drivers/ +1 more | +26 | 0 replies | |
| 12/34 | net/mlx5: support concurrent access for hash listdrivers/ drivers/ drivers/ +3 more | +287 | 0 replies | |
| 13/34 | net/mlx5: add flow table tunnel offload attributedrivers/ drivers/ | +3 | 0 replies | |
| 14/34 | net/mlx5: make flow table cache thread safedrivers/ drivers/ drivers/ +2 more | +181 | 0 replies | |
| 15/34 | net/mlx5: fix redundant Direct Verbs resources allocatedrivers/ | +5 | 0 replies | |
| 16/34 | net/mlx5: make flow tag list thread safedrivers/ drivers/ drivers/ | +56 | 0 replies | |
| 17/34 | net/mlx5: make flow modify action list thread safedrivers/ drivers/ drivers/ | +102 | 0 replies | |
| 18/34 | net/mlx5: remove unused mreg copy codedrivers/ drivers/ drivers/ | +0 | 0 replies | |
| 19/34 | net/mlx5: make metadata copy flow list thread safedrivers/ drivers/ drivers/ | +99 | 0 replies | |
| 20/34 | net/mlx5: make header reformat action thread safedrivers/ drivers/ drivers/ | +116 | 0 replies | |
| 21/34 | net/mlx5: introduce thread safe linked list cachedrivers/ drivers/ | +343 | 0 replies | |
| 22/34 | net/mlx5: optimize shared RSS list operationdrivers/ drivers/ drivers/ | +39 | 0 replies | |
| 23/34 | net/mlx5: make Rx queue thread safedrivers/ drivers/ drivers/ +5 more | +228 | 0 replies | |
| 24/34 | net/mlx5: make matcher list thread safedrivers/ drivers/ drivers/ | +129 | 0 replies | |
| 25/34 | net/mlx5: make port ID action cache thread safedrivers/ drivers/ drivers/ +1 more | +94 | 0 replies | |
| 26/34 | net/mlx5: make push VLAN action cache thread safedrivers/ drivers/ drivers/ +1 more | +102 | 0 replies | |
| 27/34 | net/mlx5: simplify sample attributesdrivers/ | +14 | 0 replies | |
| 28/34 | net/mlx5: fix sample register error flowdrivers/ | +60 | 0 replies | |
| 29/34 | net/mlx5: make sample and mirror action thread safedrivers/ drivers/ drivers/ +1 more | +260 | 0 replies | |
| 30/34 | net/mlx5: make tunnel offloading table thread safedrivers/ drivers/ | +61 | 0 replies | |
| 31/34 | net/mlx5: remove unused hash list operationsdrivers/ drivers/ | +0 | 0 replies | |
| 32/34 | net/mlx5: make tunnel hub list thread safedrivers/ drivers/ | +18 | 0 replies | |
| 33/34 | net/mlx5: make shared action list thread safedrivers/ drivers/ drivers/ | +7 | 0 replies | |
| 34/34 | net/mlx5: remove shared context lockdoc/ doc/ drivers/ +2 more | +27 | 0 replies |
Reviews trailers per patch
All 34 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v5 00/34] net/mlx5: support multiple-thread flow operations
This patch set contains multiple-thread flow operations support for the flow objects.
Suanming Mou (19):
net/mlx5: use thread safe index pool for flow objects net/mlx5: make meter action thread safe net/mlx5: make VLAN network interface thread safe net/mlx5: create global jump action
net/mlx5: create global default miss action net/mlx5: create global drop action
net/mlx5: add flow table tunnel offload attribute net/mlx5: fix redundant Direct Verbs resources allocate net/mlx5: remove unused mreg copy code net/mlx5: make header reformat action thread safe net/mlx5: optimize shared RSS list operation net/mlx5: make Rx queue thread safe
net/mlx5: simplify sample attributes
net/mlx5: fix sample register error flow net/mlx5: make sample and mirror action thread safe net/mlx5: make tunnel offloading table thread safe net/mlx5: remove unused hash list operations net/mlx5: make tunnel hub list thread safe net/mlx5: make shared action list thread safe
Xueming Li (15):
net/mlx5: use thread specific flow workspace net/mlx5: reuse flow Id as hairpin Id net/mlx5: indexed pool supports zero size entry net/mlx5: use indexed pool as ID generator net/mlx5: make rte flow list thread safe net/mlx5: support concurrent access for hash list net/mlx5: make flow table cache thread safe net/mlx5: make flow tag list thread safe net/mlx5: make flow modify action list thread safe net/mlx5: make metadata copy flow list thread safe net/mlx5: introduce thread safe linked list cache net/mlx5: make matcher list thread safe net/mlx5: make port ID action cache thread safe net/mlx5: make push VLAN action cache thread safe net/mlx5: remove shared context lock
---
v5:
- fix table refcnt leak issue.
v4:
- rebase the code on top of the latest code to fix the conflict.
v3:
- rebase the code on top of the new added features.
- New feature code adaption for multiple-thread support.
v2:
- fix review comments.
- remove unused mreg copy code.
- drop the sh lock removing patch as new feature still not fully updated.
---
doc/guides/nics/mlx5.rst | 1 + doc/guides/rel_notes/release_20_11.rst | 1 + drivers/common/mlx5/linux/mlx5_nl.h | 1 + drivers/net/mlx5/linux/mlx5_os.c | 119 +- drivers/net/mlx5/linux/mlx5_vlan_os.c | 5 + drivers/net/mlx5/mlx5.c | 278 +--- drivers/net/mlx5/mlx5.h | 69 +- drivers/net/mlx5/mlx5_flow.c | 756 +++++------ drivers/net/mlx5/mlx5_flow.h | 164 ++- drivers/net/mlx5/mlx5_flow_dv.c | 2259 ++++++++++++++------------------ drivers/net/mlx5/mlx5_flow_meter.c | 72 +- drivers/net/mlx5/mlx5_flow_verbs.c | 86 +- drivers/net/mlx5/mlx5_rxq.c | 302 +++-- drivers/net/mlx5/mlx5_rxtx.h | 23 +- drivers/net/mlx5/mlx5_utils.c | 345 ++++- drivers/net/mlx5/mlx5_utils.h | 320 ++++- 16 files changed, 2464 insertions(+), 2337 deletions(-)
Signature · 1 line
1.8.3.1