[v4,0/6] features provisioning fixes and mlx5_vdpa support

Message ID 1675724880-7216-1-git-send-email-si-wei.liu@oracle.com
Headers
Series features provisioning fixes and mlx5_vdpa support |

Message

Si-Wei Liu Feb. 6, 2023, 11:07 p.m. UTC
  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/1666392237-4042-1-git-send-email-si-wei.liu@oracle.com/

---
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(-)
  

Comments

Si-Wei Liu Feb. 6, 2023, 11:22 p.m. UTC | #1
Apologies folks. Please ignore the patches posted with an incorrect 
"[PATCH v3 ...]" subject in this thread. I've resent the patch with 
subject line corrected:

Message-Id: 1675725124-7375-1-git-send-email-si-wei.liu@oracle.com

Sorry again,
-Siwei

On 2/6/2023 3:07 PM, Si-Wei Liu wrote:
> 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/1666392237-4042-1-git-send-email-si-wei.liu@oracle.com/
>
> ---
> 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(-)
>