search for: vp_vdpa_mgtdev

Displaying 2 results from an estimated 2 matches for "vp_vdpa_mgtdev".

2023 Jun 07
0
[PATCH] vp_vdpa: Check queue number of vdpa device from add_config
...vp_vdpa = vdpa_alloc_device(struct vp_vdpa, vdpa, > > > dev, &vp_vdpa_ops, 1, 1, name, > > false); > > > @@ -491,7 +491,14 @@ static int vp_vdpa_dev_add(struct vdpa_mgmt_dev > > *v_mdev, const char *name, > > > vp_vdpa_mgtdev->vp_vdpa = vp_vdpa; > > > > > > vp_vdpa->vdpa.dma_dev = &pdev->dev; > > > - vp_vdpa->queues = vp_modern_get_num_queues(mdev); > > > + queues = vp_modern_get_num_queues(mdev); > > > + if (add_config->mask &...
2022 Oct 21
5
[PATCH v3 0/4] vDPA: initial config export via "vdpa dev show"
Live migration of vdpa would typically require re-instate vdpa device with an idential set of configs on the destination node, same way as how source node created the device in the first place. In order to allow live migration orchestration software to export the initial set of vdpa attributes with which the device was created, it will be useful if the vdpa tool can report the config on demand