Skip to content

features provisioning fixes and mlx5_vdpa support

Si-Wei Liu lkml virtualization 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/26 patches 5 repliesIn review
  2. v3 posting 2/26 patches 0 repliesSuperseded
  3. v4 posting 1/20 of 6 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/26 patches8 repliesSuperseded
v27 patches14 repliesSuperseded
v16 patches3 repliesSuperseded

Changes in v4 from the cover letter

- rewrite while loop to a for loop per mst's call
- fix wording in the subject of patch

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6vdpa: fix improper error message when adding vdpa devdrivers/vdpa/vdpa.c+4 -20 replies
2/6vdpa: conditionally read STATUS in config spacedrivers/vdpa/vdpa.c+15 -50 replies
3/6vdpa: validate provisioned device features against specified attributedrivers/vdpa/vdpa.c+18 -00 replies
4/6vdpa: validate device feature provisioning against supported classdrivers/vdpa/vdpa.c+50 -95 replies
5/6vdpa/mlx5: make MTU/STATUS presence conditional on feature bitsdrivers/vdpa/mlx5/net/mlx5_vnet.c+14 -80 replies
6/6vdpa/mlx5: support device features provisioningdrivers/vdpa/mlx5/net/mlx5_vnet.c+45 -80 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchParav PanditEli Cohen
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6
5/6R-b
6/6R-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 RESENT v4 0/6] features provisioning fixes and mlx5_vdpa support

This patchset is pre-requisite to export and provision device config attributes and features for vdpa live migration, in a way backward and forward compatibility can be retained. The follow up work [1] will need to be built around the new feature provisioning uAPI, with which it's easier to formalize migration compatibility support at the driver level.

Thanks,
-Siwei

[1] [PATCH v3 0/4] vDPA: initial config export via "vdpa dev show"
https://lore.kernel.org/virtualization/[email protected]/

---
v3 -> v4:
- rewrite while loop to a for loop per mst's call
- fix wording in the subject of patch
v2 -> v3:
- fix incorrect reference of local variable in future patch
- prohibit per-device bitmask macro from exposure in uapi header
- add fixes tag
v1 -> v2:
- include specific attribute info to error message
- move conditional feature presence in mlx5_vdpa config space to a separate patch
- remove redundant check
---

Si-Wei Liu (6):
vdpa: fix improper error message when adding vdpa dev
vdpa: conditionally read STATUS in config space
vdpa: validate provisioned device features against specified attribute
vdpa: validate device feature provisioning against supported class vdpa/mlx5: make MTU/STATUS presence conditional on feature bits vdpa/mlx5: support device features provisioning

 drivers/vdpa/mlx5/net/mlx5_vnet.c |  71 ++++++++++++++++++++------
 drivers/vdpa/vdpa.c               | 103 ++++++++++++++++++++++++++++++++------
 2 files changed, 144 insertions(+), 30 deletions(-)
Signature · 6 lines
1.8.3.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization