Re: [PATCH V4 1/2] vdpa: set the virtqueue num during register

2021-02-22 Thread Stefano Garzarella
On Sat, Feb 20, 2021 at 04:46:28PM +0800, Jason Wang wrote: This patch delay the queue number setting to vDPA device registering. This allows us to probe the virtqueue numbers between device allocation and registering. Signed-off-by: Jason Wang --- drivers/vdpa/ifcvf/ifcvf_main.c | 5

[PATCH V4 1/2] vdpa: set the virtqueue num during register

2021-02-20 Thread Jason Wang
This patch delay the queue number setting to vDPA device registering. This allows us to probe the virtqueue numbers between device allocation and registering. Signed-off-by: Jason Wang --- drivers/vdpa/ifcvf/ifcvf_main.c | 5 ++--- drivers/vdpa/mlx5/net/mlx5_vnet.c| 4 ++--