Re: [dpdk-dev] [PATCH] mem: check DMA mask for user-supplied IOVA addresses

2020-05-05 Thread Burakov, Anatoly
On 05-May-20 4:48 PM, Anatoly Burakov wrote: Currently, external memory API will silently succeed if the IOVA addresses supplied by the user do not fit into the DMA mask. This can cause difficult to debug issues or accepting failed kernel VFIO DMA mappings. Fix it so that if the IOVA addresses a

[dpdk-dev] [PATCH] mem: check DMA mask for user-supplied IOVA addresses

2020-05-05 Thread Anatoly Burakov
Currently, external memory API will silently succeed if the IOVA addresses supplied by the user do not fit into the DMA mask. This can cause difficult to debug issues or accepting failed kernel VFIO DMA mappings. Fix it so that if the IOVA addresses are provided, they are checked to see if they fi