Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-12 Thread Jason Wang
On Mon, Sep 13, 2021 at 10:59 AM Wu Zongyong wrote: > > On Mon, Sep 13, 2021 at 09:43:40AM +0800, Jason Wang wrote: > > On Fri, Sep 10, 2021 at 11:11 PM Cindy Lu wrote: > > > > > > On Fri, Sep 10, 2021 at 5:20 PM Wu Zongyong > > > wrote: > > > > > > > > On Fri, Sep 10, 2021 at 04:25:18PM +0800,

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-12 Thread Jason Wang
On Fri, Sep 10, 2021 at 11:11 PM Cindy Lu wrote: > > On Fri, Sep 10, 2021 at 5:20 PM Wu Zongyong > wrote: > > > > On Fri, Sep 10, 2021 at 04:25:18PM +0800, Cindy Lu wrote: > > > , > > > > > > On Fri, Sep 10, 2021 at 3:33 PM Wu Zongyong > > > wrote: > > > > > > > > On Fri, Sep 10, 2021 at

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-09 Thread Jason Wang
On Thu, Sep 9, 2021 at 5:57 PM Wu Zongyong wrote: > > On Thu, Sep 09, 2021 at 05:28:26PM +0800, Jason Wang wrote: > > On Thu, Sep 9, 2021 at 4:02 PM Wu Zongyong > > wrote: > > > > > > On Thu, Sep 09, 2021 at 10:55:03AM +0800, Jason Wang wrote: > > > > On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-09 Thread Jason Wang
On Thu, Sep 9, 2021 at 5:18 PM Michael S. Tsirkin wrote: > > On Thu, Sep 09, 2021 at 10:55:03AM +0800, Jason Wang wrote: > > On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong > > wrote: > > > > > > This new callback is used to indicate whether the vring size can be > > > change or not. It is useful

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-09 Thread Jason Wang
On Thu, Sep 9, 2021 at 4:02 PM Wu Zongyong wrote: > > On Thu, Sep 09, 2021 at 10:55:03AM +0800, Jason Wang wrote: > > On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong > > wrote: > > > > > > This new callback is used to indicate whether the vring size can be > > > change or not. It is useful when we

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-09 Thread Michael S. Tsirkin
On Thu, Sep 09, 2021 at 10:55:03AM +0800, Jason Wang wrote: > On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong > wrote: > > > > This new callback is used to indicate whether the vring size can be > > change or not. It is useful when we have a legacy virtio pci device as > > the vdpa device for there

Re: [PATCH 5/6] vdpa: add get_vq_num_unchangeable callback in vdpa_config_ops

2021-09-08 Thread Jason Wang
On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong wrote: > > This new callback is used to indicate whether the vring size can be > change or not. It is useful when we have a legacy virtio pci device as > the vdpa device for there is no way to negotiate the vring num by the > specification. So I'm not