Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-10-18 Thread Jason Wang
在 2022/10/18 02:43, Si-Wei Liu 写道: On 10/13/2022 12:10 AM, Jason Wang wrote: 在 2022/10/7 08:35, Si-Wei Liu 写道: On 9/28/2022 9:55 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 5:41 PM Si-Wei Liu wrote: On 9/26/2022 8:59 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-10-17 Thread Si-Wei Liu
On 10/13/2022 12:10 AM, Jason Wang wrote: 在 2022/10/7 08:35, Si-Wei Liu 写道: On 9/28/2022 9:55 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 5:41 PM Si-Wei Liu wrote: On 9/26/2022 8:59 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: On 9/26/2022 12:11 AM, J

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-10-13 Thread Jason Wang
在 2022/10/7 08:35, Si-Wei Liu 写道: On 9/28/2022 9:55 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 5:41 PM Si-Wei Liu wrote: On 9/26/2022 8:59 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: On 9/26/2022 12:11 AM, Jason Wang wrote: On Sat, Sep 24, 2022 at 4:0

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-10-10 Thread Si-Wei Liu
Hi Michael, Noticed that you just merged this series that we now got two nominally duplicated attributes: VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES and VDPA_ATTR_DEV_FEATURES. I think Jason agreed to remove one of them but did not get chance to post a new series to catch up with the merge window.

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-10-06 Thread Si-Wei Liu
On 9/28/2022 9:55 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 5:41 PM Si-Wei Liu wrote: On 9/26/2022 8:59 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: On 9/26/2022 12:11 AM, Jason Wang wrote: On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: On 9/21/2022

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-28 Thread Jason Wang
On Tue, Sep 27, 2022 at 5:41 PM Si-Wei Liu wrote: > > > > On 9/26/2022 8:59 PM, Jason Wang wrote: > > On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: > > > On 9/26/2022 12:11 AM, Jason Wang wrote: > > On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: > > > On 9/21/2022 7:43 PM, Jason Wang wrot

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-28 Thread Jason Wang
On Tue, Sep 27, 2022 at 6:01 PM Si-Wei Liu wrote: > > > > On 9/26/2022 9:07 PM, Jason Wang wrote: > > On Tue, Sep 27, 2022 at 11:59 AM Jason Wang wrote: > > On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: > > > On 9/26/2022 12:11 AM, Jason Wang wrote: > > On Sat, Sep 24, 2022 at 4:01 AM Si-Wei

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-27 Thread Si-Wei Liu
On 9/26/2022 9:07 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 11:59 AM Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: On 9/26/2022 12:11 AM, Jason Wang wrote: On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: On 9/21/2022 7:43 PM, Jason Wang wrote: This patch i

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-27 Thread Si-Wei Liu
On 9/26/2022 8:59 PM, Jason Wang wrote: On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: On 9/26/2022 12:11 AM, Jason Wang wrote: On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: On 9/21/2022 7:43 PM, Jason Wang wrote: This patch implements features provisioning for vdpa_sim_net. 1)

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-26 Thread Jason Wang
On Tue, Sep 27, 2022 at 11:59 AM Jason Wang wrote: > > On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: > > > > > > > > On 9/26/2022 12:11 AM, Jason Wang wrote: > > > > On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: > > > > > > On 9/21/2022 7:43 PM, Jason Wang wrote: > > > > This patch imple

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-26 Thread Jason Wang
On Tue, Sep 27, 2022 at 9:02 AM Si-Wei Liu wrote: > > > > On 9/26/2022 12:11 AM, Jason Wang wrote: > > On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: > > > On 9/21/2022 7:43 PM, Jason Wang wrote: > > This patch implements features provisioning for vdpa_sim_net. > > 1) validating the provisione

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-26 Thread Si-Wei Liu
On 9/26/2022 12:11 AM, Jason Wang wrote: On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: On 9/21/2022 7:43 PM, Jason Wang wrote: This patch implements features provisioning for vdpa_sim_net. 1) validating the provisioned features to be a subset of the parent features. 2) clearing t

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-26 Thread Jason Wang
On Mon, Sep 26, 2022 at 3:11 PM Jason Wang wrote: > > On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: > > > > > > > > On 9/21/2022 7:43 PM, Jason Wang wrote: > > > This patch implements features provisioning for vdpa_sim_net. > > > > > > 1) validating the provisioned features to be a subset of

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-26 Thread Jason Wang
On Sat, Sep 24, 2022 at 4:01 AM Si-Wei Liu wrote: > > > > On 9/21/2022 7:43 PM, Jason Wang wrote: > > This patch implements features provisioning for vdpa_sim_net. > > > > 1) validating the provisioned features to be a subset of the parent > > features. > > 2) clearing the features that is not

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-23 Thread Si-Wei Liu
On 9/21/2022 7:43 PM, Jason Wang wrote: This patch implements features provisioning for vdpa_sim_net. 1) validating the provisioned features to be a subset of the parent features. 2) clearing the features that is not wanted by the userspace For example: # vdpa mgmtdev show vdpasim_net:

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Jason Wang
m; > > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > > epere...@redhat.com; lingshan@intel.com; gda...@xilinx.com; > > l...@redhat.com; xieyon...@bytedance.com > > Subject: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning > > > > Th

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Jason Wang
.@oracle.com; Parav > > > Pandit ; wuzongy...@linux.alibaba.com; > > > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > > > epere...@redhat.com; lingshan@intel.com; gda...@xilinx.com; > > > l...@redhat.com; xieyon...@bytedance.co

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Jason Wang
On Thu, Sep 22, 2022 at 5:23 PM Stefano Garzarella wrote: > > On Thu, Sep 22, 2022 at 10:43:04AM +0800, Jason Wang wrote: > >This patch implements features provisioning for vdpa_sim_net. > > > >1) validating the provisioned features to be a subset of the parent > > features. > >2) clearing the f

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Stefano Garzarella
On Thu, Sep 22, 2022 at 10:43:04AM +0800, Jason Wang wrote: This patch implements features provisioning for vdpa_sim_net. 1) validating the provisioned features to be a subset of the parent features. 2) clearing the features that is not wanted by the userspace For example: # vdpa mgmtdev sho

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Michael S. Tsirkin
on@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > > epere...@redhat.com; lingshan@intel.com; gda...@xilinx.com; > > l...@redhat.com; xieyon...@bytedance.com > > Subject: Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning > > &

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Michael S. Tsirkin
> Pandit ; wuzongy...@linux.alibaba.com; > > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > > epere...@redhat.com; lingshan@intel.com; gda...@xilinx.com; > > l...@redhat.com; xieyon...@bytedance.com > > Subject: Re: [PATCH V2 2/3] vdpa_sim_net: support feat

Re: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-22 Thread Michael S. Tsirkin
> > virtualization@lists.linux-foundation.org; linux-ker...@vger.kernel.org; > > epere...@redhat.com; lingshan@intel.com; gda...@xilinx.com; > > l...@redhat.com; xieyon...@bytedance.com > > Subject: [PATCH V2 2/3] vdpa_sim_net: support feature provisioning > > >

[PATCH V2 2/3] vdpa_sim_net: support feature provisioning

2022-09-21 Thread Jason Wang
This patch implements features provisioning for vdpa_sim_net. 1) validating the provisioned features to be a subset of the parent features. 2) clearing the features that is not wanted by the userspace For example: # vdpa mgmtdev show vdpasim_net: supported_classes net max_supported_vqs 3