[PATCH V2 0/3] vdpa: device feature provisioning

From: Jason Wang
Date: Wed Sep 21 2022 - 22:43:32 EST


Hi All:

Virtio features are neogiated between the device and the drivers. This
allows the mediation layer like vDPA to hide some features from the
driver to faciliate the cross vendor live migration:

vDPA on the source supports feature set X
vDPA on the destination supports feature set Y

Management can simply provision the vDPA instance with features X&Y on
both source and destination to let the vDPA can be migrate-able
between the two vDPA devies with different features support.

This series tries to allow the device features to be provisioned via
netlink to achieve this.

Changes since V1:

- Add vdpa tool command output

Please review.

Thanks

Jason Wang (3):
vdpa: device feature provisioning
vdpa_sim_net: support feature provisioning
vp_vdpa: support feature provisioning

drivers/vdpa/vdpa.c | 5 +++++
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 11 ++++++++++-
drivers/vdpa/virtio_pci/vp_vdpa.c | 16 ++++++++++++++--
include/linux/vdpa.h | 1 +
include/uapi/linux/vdpa.h | 2 ++
5 files changed, 32 insertions(+), 3 deletions(-)

--
2.25.1