Re: [PATCH v4 4/7] vdpa: add NetClientState->start() callback

2022-08-01 Thread Eugenio Perez Martin
On Tue, Jul 26, 2022 at 4:53 AM Jason Wang wrote: > > > 在 2022/7/22 19:12, Eugenio Pérez 写道: > > It allows per-net client operations right after device's successful > > start. > > > > Vhost-vdpa net will use it to add the CVQ buffers to restore the device > > status. > > > > Signed-off-by:

Re: [PATCH v4 4/7] vdpa: add NetClientState->start() callback

2022-07-25 Thread Jason Wang
在 2022/7/22 19:12, Eugenio Pérez 写道: It allows per-net client operations right after device's successful start. Vhost-vdpa net will use it to add the CVQ buffers to restore the device status. Signed-off-by: Eugenio Pérez --- include/net/net.h | 2 ++ hw/net/vhost_net.c | 7 +++ 2

[PATCH v4 4/7] vdpa: add NetClientState->start() callback

2022-07-22 Thread Eugenio Pérez
It allows per-net client operations right after device's successful start. Vhost-vdpa net will use it to add the CVQ buffers to restore the device status. Signed-off-by: Eugenio Pérez --- include/net/net.h | 2 ++ hw/net/vhost_net.c | 7 +++ 2 files changed, 9 insertions(+) diff --git