Messages in this thread | | | Date | Mon, 30 Nov 2020 12:24:35 +0100 | From | Stefano Garzarella <> | Subject | Re: [PATCH v2 04/17] vdpa_sim: remove the limit of IOTLB entries |
| |
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@redhat.com> >>Acked-by: Jason Wang <jasowang@redhat.com> >>Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> >>--- >>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
| |