Re: [PATCH v3 6/7] vhost_net: Add NetClientInfo prepare callback

2022-08-04 Thread Jason Wang
On Thu, Aug 4, 2022 at 3:52 PM Eugenio Perez Martin wrote: > > On Thu, Aug 4, 2022 at 6:46 AM Jason Wang wrote: > > > > > > 在 2022/8/4 01:18, Eugenio Pérez 写道: > > > This is used by the backend to perform actions before the device is > > > started. > > > > > > In particular, vdpa will use it to i

Re: [PATCH v3 6/7] vhost_net: Add NetClientInfo prepare callback

2022-08-04 Thread Eugenio Perez Martin
On Thu, Aug 4, 2022 at 6:46 AM Jason Wang wrote: > > > 在 2022/8/4 01:18, Eugenio Pérez 写道: > > This is used by the backend to perform actions before the device is > > started. > > > > In particular, vdpa will use it to isolate CVQ in its own ASID if > > possible, and start SVQ unconditionally only

Re: [PATCH v3 6/7] vhost_net: Add NetClientInfo prepare callback

2022-08-03 Thread Jason Wang
在 2022/8/4 01:18, Eugenio Pérez 写道: This is used by the backend to perform actions before the device is started. In particular, vdpa will use it to isolate CVQ in its own ASID if possible, and start SVQ unconditionally only in CVQ. Signed-off-by: Eugenio Pérez --- include/net/net.h | 2 ++

[PATCH v3 6/7] vhost_net: Add NetClientInfo prepare callback

2022-08-03 Thread Eugenio Pérez
This is used by the backend to perform actions before the device is started. In particular, vdpa will use it to isolate CVQ in its own ASID if possible, and start SVQ unconditionally only in CVQ. Signed-off-by: Eugenio Pérez --- include/net/net.h | 2 ++ hw/net/vhost_net.c | 4 2 files ch