RFC Add vDPA multi-threads optiomization
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest15 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | examples/vdpa: fix vDPA device removeexamples/ | +4 | 0 replies | |
| 2/15 | vdpa/mlx5: support pre create virtq resourcedoc/ drivers/ drivers/ | +89 | 0 replies | |
| 3/15 | common/mlx5: add DevX API to move QP to reset statedrivers/ drivers/ | +24 | 0 replies | |
| 4/15 | vdpa/mlx5: support event qp reusedrivers/ drivers/ drivers/ +1 more | +78 | 0 replies | |
| 5/15 | common/mlx5: extend virtq modifiable fieldsdrivers/ drivers/ drivers/ | +76 | 0 replies | |
| 6/15 | vdpa/mlx5: pre-create virtq in the probdrivers/ drivers/ drivers/ | +170 | 0 replies | |
| 7/15 | vdpa/mlx5: optimize datapath-control synchronizationdrivers/ drivers/ drivers/ +3 more | +180 | 0 replies | |
| 8/15 | vdpa/mlx5: add multi-thread management for configurationdoc/ drivers/ drivers/ +4 more | +223 | 0 replies | |
| 9/15 | vdpa/mlx5: add task ring for MT managementdrivers/ drivers/ | +133 | 0 replies | |
| 10/15 | vdpa/mlx5: add MT task for VM memory registrationdrivers/ drivers/ drivers/ +2 more | +256 | 0 replies | |
| 11/15 | vdpa/mlx5: add virtq creation task for MT managementdrivers/ drivers/ drivers/ +1 more | +133 | 0 replies | |
| 12/15 | vdpa/mlx5: add virtq LM log taskdrivers/ drivers/ drivers/ | +110 | 0 replies | |
| 13/15 | vdpa/mlx5: add device close taskdrivers/ drivers/ drivers/ +1 more | +90 | 0 replies | |
| 14/15 | vdpa/mlx5: add virtq sub-resources creationdrivers/ drivers/ drivers/ +2 more | +117 | 0 replies | |
| 15/15 | vdpa/mlx5: prepare virtqueue resource creationdrivers/ drivers/ drivers/ +1 more | +104 | 0 replies |
Reviews trailers per patch
None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Matan Azrad | Maxime Coquelin |
|---|---|---|
| Series | A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b | R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b |
| 1/15 | ||
| 2/15 | ||
| 3/15 | ||
| 4/15 | ||
| 5/15 | ||
| 6/15 | ||
| 7/15 | ||
| 8/15 | ||
| 9/15 | ||
| 10/15 | ||
| 11/15 | ||
| 12/15 | ||
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/15] Add vDPA multi-threads optiomization
Allow the driver to use internal threads to obtain fast configuration.
All the threads will be open on the same core of the event completion queue scheduling thread.
Add max_conf_threads parameter to configure
the maximum number of internal threads in addition to the caller thread (8 is suggested).
These internal threads to pipeline handle VDPA tasks in system and shared with all VDPA devices. Default is 0, don't use internal threads for configuration.
Depends-on: series=21868 ("vdpa/mlx5: improve device shutdown time")
http://patchwork.dpdk.org/project/dpdk/list/?series=21868
Li Zhang (11):
common/mlx5: extend virtq modifiable fields vdpa/mlx5: pre-create virtq in the prob vdpa/mlx5: optimize datapath-control synchronization vdpa/mlx5: add multi-thread management for configuration vdpa/mlx5: add task ring for MT management vdpa/mlx5: add MT task for VM memory registration vdpa/mlx5: add virtq creation task for MT management vdpa/mlx5: add virtq LM log task
vdpa/mlx5: add device close task
vdpa/mlx5: add virtq sub-resources creation vdpa/mlx5: prepare virtqueue resource creation
Yajun Wu (4):
examples/vdpa: fix vDPA device remove vdpa/mlx5: support pre create virtq resource common/mlx5: add DevX API to move QP to reset state vdpa/mlx5: support event qp reuse
doc/guides/vdpadevs/mlx5.rst | 25 ++ drivers/common/mlx5/mlx5_devx_cmds.c | 77 +++- drivers/common/mlx5/mlx5_devx_cmds.h | 6 +- drivers/common/mlx5/mlx5_prm.h | 30 +- drivers/vdpa/mlx5/meson.build | 1 + drivers/vdpa/mlx5/mlx5_vdpa.c | 227 +++++++++- drivers/vdpa/mlx5/mlx5_vdpa.h | 147 ++++++- drivers/vdpa/mlx5/mlx5_vdpa_cthread.c | 362 ++++++++++++++++ drivers/vdpa/mlx5/mlx5_vdpa_event.c | 160 +++++-- drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 133 ++++-- drivers/vdpa/mlx5/mlx5_vdpa_mem.c | 268 ++++++++---- drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 20 +- drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 582 ++++++++++++++++++-------- examples/vdpa/main.c | 4 + 14 files changed, 1674 insertions(+), 368 deletions(-) create mode 100644 drivers/vdpa/mlx5/mlx5_vdpa_cthread.c
Signature · 1 line
2.27.0