Re: [PATCH v7 08/12] vdpa: Move command buffers map to start of net device

2022-08-09 Thread Jason Wang
On Tue, Aug 9, 2022 at 4:04 PM Eugenio Perez Martin wrote: > > On Tue, Aug 9, 2022 at 9:49 AM Jason Wang wrote: > > > > On Tue, Aug 9, 2022 at 3:34 PM Eugenio Perez Martin > > wrote: > > > > > > On Tue, Aug 9, 2022 at 9:04 AM Jason Wang wrote: > > > > > > > > On Fri, Aug 5, 2022 at 2:29 AM

Re: [PATCH v7 08/12] vdpa: Move command buffers map to start of net device

2022-08-09 Thread Eugenio Perez Martin
On Tue, Aug 9, 2022 at 9:49 AM Jason Wang wrote: > > On Tue, Aug 9, 2022 at 3:34 PM Eugenio Perez Martin > wrote: > > > > On Tue, Aug 9, 2022 at 9:04 AM Jason Wang wrote: > > > > > > On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > > > > > > > As this series will reuse them to restore

Re: [PATCH v7 08/12] vdpa: Move command buffers map to start of net device

2022-08-09 Thread Jason Wang
On Tue, Aug 9, 2022 at 3:34 PM Eugenio Perez Martin wrote: > > On Tue, Aug 9, 2022 at 9:04 AM Jason Wang wrote: > > > > On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > > > > > As this series will reuse them to restore the device state at the end of > > > a migration (or a device start),

Re: [PATCH v7 08/12] vdpa: Move command buffers map to start of net device

2022-08-09 Thread Eugenio Perez Martin
On Tue, Aug 9, 2022 at 9:04 AM Jason Wang wrote: > > On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > > > As this series will reuse them to restore the device state at the end of > > a migration (or a device start), let's allocate only once at the device > > start so we don't duplicate

Re: [PATCH v7 08/12] vdpa: Move command buffers map to start of net device

2022-08-09 Thread Jason Wang
On Fri, Aug 5, 2022 at 2:29 AM Eugenio Pérez wrote: > > As this series will reuse them to restore the device state at the end of > a migration (or a device start), let's allocate only once at the device > start so we don't duplicate their map and unmap. > > Signed-off-by: Eugenio Pérez > --- >