Re: [PATCH vhost 03/17] virtio_ring: packed: structure the indirect desc table

2024-01-31 Thread Jason Wang
On Wed, Jan 31, 2024 at 6:01 PM Xuan Zhuo wrote: > > On Wed, 31 Jan 2024 17:12:10 +0800, Jason Wang wrote: > > On Tue, Jan 30, 2024 at 7:42 PM Xuan Zhuo > > wrote: > > > > > > This commit structure the indirect desc table. > > > Then we can get the desc num directly when doing unmap. > > > > >

Re: [PATCH vhost 03/17] virtio_ring: packed: structure the indirect desc table

2024-01-31 Thread Xuan Zhuo
On Wed, 31 Jan 2024 17:12:10 +0800, Jason Wang wrote: > On Tue, Jan 30, 2024 at 7:42 PM Xuan Zhuo wrote: > > > > This commit structure the indirect desc table. > > Then we can get the desc num directly when doing unmap. > > > > And save the dma info to the struct, then the indirect > > will not u

Re: [PATCH vhost 03/17] virtio_ring: packed: structure the indirect desc table

2024-01-31 Thread Jason Wang
On Tue, Jan 30, 2024 at 7:42 PM Xuan Zhuo wrote: > > This commit structure the indirect desc table. > Then we can get the desc num directly when doing unmap. > > And save the dma info to the struct, then the indirect > will not use the dma fields of the desc_extra. The subsequent > commits will ma

[PATCH vhost 03/17] virtio_ring: packed: structure the indirect desc table

2024-01-30 Thread Xuan Zhuo
This commit structure the indirect desc table. Then we can get the desc num directly when doing unmap. And save the dma info to the struct, then the indirect will not use the dma fields of the desc_extra. The subsequent commits will make the dma fields are optional. But for the indirect case, we m