RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-01 Thread Parav Pandit via Virtualization
> From: Zhu Lingshan > Sent: Friday, July 1, 2022 9:28 AM > > This commit adds a new vDPA netlink attribution > VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES. Userspace can query > features of vDPA devices through this new attr. > > Fixes: a64917bc2e9b vdpa: (Provide interface to read driver feature)

Re: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-03 Thread Jason Wang
在 2022/7/2 06:02, Parav Pandit 写道: From: Zhu Lingshan Sent: Friday, July 1, 2022 9:28 AM This commit adds a new vDPA netlink attribution VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES. Userspace can query features of vDPA devices through this new attr. Fixes: a64917bc2e9b vdpa: (Provide interface to

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-04 Thread Parav Pandit via Virtualization
> From: Jason Wang > Sent: Monday, July 4, 2022 12:47 AM > > > 在 2022/7/2 06:02, Parav Pandit 写道: > > > >> From: Zhu Lingshan > >> Sent: Friday, July 1, 2022 9:28 AM > >> > >> This commit adds a new vDPA netlink attribution > >> VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES. Userspace can query > feat

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-05 Thread Parav Pandit via Virtualization
> From: Zhu, Lingshan > Sent: Tuesday, July 5, 2022 3:59 AM > > > On 7/4/2022 8:53 PM, Parav Pandit wrote: > >> From: Jason Wang > >> Sent: Monday, July 4, 2022 12:47 AM > >> > >> > >> 在 2022/7/2 06:02, Parav Pandit 写道: > From: Zhu Lingshan > Sent: Friday, July 1, 2022 9:28 AM > >>>

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-05 Thread Parav Pandit via Virtualization
> From: Zhu, Lingshan > Sent: Tuesday, July 5, 2022 12:56 PM > > Both can be queried simultaneously. Each will return their own feature bits > using same attribute. > > It wont lead to the race. > How? It is just a piece of memory, [attr], do you see locks in > nla_put_u64_64bit()? It is a ty

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-05 Thread Parav Pandit via Virtualization
> From: Zhu, Lingshan > Sent: Tuesday, July 5, 2022 10:25 PM > 1. When migrate the VM to a node which has a more resourceful device. If > the source side device does not have MQ, RSS or TSO feature, the vDPA > device assigned to the VM does not have MQ, RSS or TSO as well. When > migrating to a

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-08 Thread Parav Pandit via Virtualization
> From: Zhu, Lingshan > Sent: Friday, July 8, 2022 2:16 AM > > On 7/2/2022 6:02 AM, Parav Pandit wrote: > > > >> From: Zhu Lingshan > >> Sent: Friday, July 1, 2022 9:28 AM > >> > >> This commit adds a new vDPA netlink attribution > >> VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES. Userspace can query

RE: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-24 Thread Parav Pandit via Virtualization
> From: Zhu, Lingshan > Sent: Saturday, July 23, 2022 7:27 AM > > On 7/6/2022 10:25 AM, Zhu, Lingshan wrote: > > > > > > On 7/6/2022 1:01 AM, Parav Pandit wrote: > >>> From: Zhu, Lingshan > >>> Sent: Tuesday, July 5, 2022 12:56 PM > Both can be queried simultaneously. Each will return the

Re: [PATCH V3 3/6] vDPA: allow userspace to query features of a vDPA device

2022-07-27 Thread Si-Wei Liu
On 7/5/2022 4:56 AM, Parav Pandit via Virtualization wrote: From: Zhu, Lingshan Sent: Tuesday, July 5, 2022 3:59 AM On 7/4/2022 8:53 PM, Parav Pandit wrote: From: Jason Wang Sent: Monday, July 4, 2022 12:47 AM 在 2022/7/2 06:02, Parav Pandit 写道: From: Zhu Lingshan Sent: Friday, July 1,