Re: [PATCH v2 04/17] vdpa_sim: remove the limit of IOTLB entries

From: Stefano Garzarella
Date: Mon Nov 30 2020 - 06:26:24 EST


On Mon, Nov 30, 2020 at 11:07:08AM +0800, Jason Wang wrote:

On 2020/11/26 下午10:49, Stefano Garzarella wrote:
The simulated devices can support multiple queues, so this limit
should be defined according to the number of queues supported by
the device.

Since we are in a simulator, let's simply remove that limit.

Suggested-by: Jason Wang <jasowang@xxxxxxxxxx>
Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
Signed-off-by: Stefano Garzarella <sgarzare@xxxxxxxxxx>
---
v2:
- added VDPASIM_IOTLB_LIMIT macro [Jason]


Sorry for being unclear. I meant adding a macro like

VHOST_IOTLB_UNLIMITED 0 in vhost_iotlb.h.

And use that in vdpa_sim.

Got it :-) I'll fix adding the macro in another patch and using it in this one.

Thanks,
Stefano