Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-28 Thread Kangjie Xu
在 2022/7/28 10:41, Jason Wang 写道: On Wed, Jul 27, 2022 at 3:05 PM Kangjie Xu wrote: 在 2022/7/27 12:55, Jason Wang 写道: On Tue, Jul 26, 2022 at 2:39 PM Kangjie Xu wrote: 在 2022/7/26 11:49, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: The interface to set enable status for a single

Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-27 Thread Jason Wang
On Wed, Jul 27, 2022 at 3:05 PM Kangjie Xu wrote: > > > 在 2022/7/27 12:55, Jason Wang 写道: > > On Tue, Jul 26, 2022 at 2:39 PM Kangjie Xu > > wrote: > >> > >> 在 2022/7/26 11:49, Jason Wang 写道: > >>> 在 2022/7/18 19:17, Kangjie Xu 写道: > The interface to set enable status for a single vring is

Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-27 Thread Kangjie Xu
在 2022/7/27 12:55, Jason Wang 写道: On Tue, Jul 26, 2022 at 2:39 PM Kangjie Xu wrote: 在 2022/7/26 11:49, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: The interface to set enable status for a single vring is lacked in VhostOps, since the vhost_set_vring_enable_op will manipulate all

Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-26 Thread Jason Wang
On Tue, Jul 26, 2022 at 2:39 PM Kangjie Xu wrote: > > > 在 2022/7/26 11:49, Jason Wang 写道: > > > > 在 2022/7/18 19:17, Kangjie Xu 写道: > >> The interface to set enable status for a single vring is lacked in > >> VhostOps, since the vhost_set_vring_enable_op will manipulate all > >> virtqueues in a

Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-26 Thread Kangjie Xu
在 2022/7/26 11:49, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: The interface to set enable status for a single vring is lacked in VhostOps, since the vhost_set_vring_enable_op will manipulate all virtqueues in a device. Resetting a single vq will rely on this interface. It requires a

Re: [PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-25 Thread Jason Wang
在 2022/7/18 19:17, Kangjie Xu 写道: The interface to set enable status for a single vring is lacked in VhostOps, since the vhost_set_vring_enable_op will manipulate all virtqueues in a device. Resetting a single vq will rely on this interface. It requires a reply to indicate that the reset

[PATCH 08/16] vhost: add op to enable or disable a single vring

2022-07-18 Thread Kangjie Xu
The interface to set enable status for a single vring is lacked in VhostOps, since the vhost_set_vring_enable_op will manipulate all virtqueues in a device. Resetting a single vq will rely on this interface. It requires a reply to indicate that the reset operation is finished, so the parameter,