Re: [PATCH 22/31] vhost: Add VhostIOVATree

2022-02-08 Thread Jason Wang
在 2022/2/2 上午1:27, Eugenio Perez Martin 写道: On Sun, Jan 30, 2022 at 6:21 AM Jason Wang wrote: 在 2022/1/22 上午4:27, Eugenio Pérez 写道: This tree is able to look for a translated address from an IOVA address. At first glance it is similar to util/iova-tree. However, SVQ working on devices with

Re: [PATCH 22/31] vhost: Add VhostIOVATree

2022-02-01 Thread Eugenio Perez Martin
On Sun, Jan 30, 2022 at 6:21 AM Jason Wang wrote: > > > 在 2022/1/22 上午4:27, Eugenio Pérez 写道: > > This tree is able to look for a translated address from an IOVA address. > > > > At first glance it is similar to util/iova-tree. However, SVQ working on > > devices with limited IOVA space need more

Re: [PATCH 22/31] vhost: Add VhostIOVATree

2022-01-29 Thread Jason Wang
在 2022/1/22 上午4:27, Eugenio Pérez 写道: This tree is able to look for a translated address from an IOVA address. At first glance it is similar to util/iova-tree. However, SVQ working on devices with limited IOVA space need more capabilities, So did the IOVA tree (e.g l2 vtd can only work in t

[PATCH 22/31] vhost: Add VhostIOVATree

2022-01-21 Thread Eugenio Pérez
This tree is able to look for a translated address from an IOVA address. At first glance it is similar to util/iova-tree. However, SVQ working on devices with limited IOVA space need more capabilities, like allocating IOVA chunks or performing reverse translations (qemu addresses to iova). The al