[dpdk-dev] [PATCH 2/2] vfio: modify spapr iommu support to use static window sizing

David Christensen drc at linux.vnet.ibm.com
Tue May 5 18:26:44 CEST 2020


>>>>> That's not even mentioning the fact 
>>>>> that the user may register external memory for DMA which may cause 
>>>>> the window to be of insufficient size to cover said external memory.

Regarding external memory, I can think of two obvious options:

1) Skip window sizing altogether if external memory is detected and 
assume the user has set things up appropriately.
2) Add an EAL command line option --iova-len that would allow the 
external memory requirements to be considered it required.

I'll work on a new patch with (2) along with the other changes discussed 
and resubmit.  Thanks for the feedback.

Dave


More information about the dev mailing list