Re: [PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-03-05 Thread Jason Wang
On Fri, Mar 3, 2023 at 4:01 PM Eugenio Perez Martin wrote: > > On Fri, Mar 3, 2023 at 4:32 AM Jason Wang wrote: > > > > > > 在 2023/3/1 15:01, Eugenio Perez Martin 写道: > > > On Mon, Feb 27, 2023 at 8:04 AM Jason Wang wrote: > > >> > > >> 在 2023/2/24 23:54, Eugenio Pérez 写道: > > >>> Only create io

Re: [PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-03-03 Thread Eugenio Perez Martin
On Fri, Mar 3, 2023 at 4:32 AM Jason Wang wrote: > > > 在 2023/3/1 15:01, Eugenio Perez Martin 写道: > > On Mon, Feb 27, 2023 at 8:04 AM Jason Wang wrote: > >> > >> 在 2023/2/24 23:54, Eugenio Pérez 写道: > >>> Only create iova_tree if and when it is needed. > >>> > >>> The cleanup keeps being responsi

Re: [PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-03-02 Thread Jason Wang
在 2023/3/1 15:01, Eugenio Perez Martin 写道: On Mon, Feb 27, 2023 at 8:04 AM Jason Wang wrote: 在 2023/2/24 23:54, Eugenio Pérez 写道: Only create iova_tree if and when it is needed. The cleanup keeps being responsible of last VQ but this change allows it to merge both cleanup functions. Signe

Re: [PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-02-28 Thread Eugenio Perez Martin
On Mon, Feb 27, 2023 at 8:04 AM Jason Wang wrote: > > > 在 2023/2/24 23:54, Eugenio Pérez 写道: > > Only create iova_tree if and when it is needed. > > > > The cleanup keeps being responsible of last VQ but this change allows it > > to merge both cleanup functions. > > > > Signed-off-by: Eugenio Pére

Re: [PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-02-27 Thread Jason Wang
在 2023/2/24 23:54, Eugenio Pérez 写道: Only create iova_tree if and when it is needed. The cleanup keeps being responsible of last VQ but this change allows it to merge both cleanup functions. Signed-off-by: Eugenio Pérez Acked-by: Jason Wang --- v4: * Remove leak of iova_tree because double

[PATCH v4 01/15] vdpa net: move iova tree creation from init to start

2023-02-24 Thread Eugenio Pérez
Only create iova_tree if and when it is needed. The cleanup keeps being responsible of last VQ but this change allows it to merge both cleanup functions. Signed-off-by: Eugenio Pérez Acked-by: Jason Wang --- v4: * Remove leak of iova_tree because double allocation * Document better the sharing