Re: [dpdk-dev] [PATH 0/5] use IOVAs check based on DMA mask

2018-08-31 Thread Alejandro Lucero
There is a problem with the patch due to a last-hour change regarding MAX_DMA_MASK_BITS. It turns out initial X86_VA_WIDTH definition was to 47 bits, but it is not enough in some systems leading to IOVA VA not available. Because MAX_DMA_MASK_BITS was just used for a sanity check about the mask leng

[dpdk-dev] [PATH 0/5] use IOVAs check based on DMA mask

2018-08-30 Thread Alejandro Lucero
I sent a patchset about this to be applied on 17.11 stable. The memory code has had main changes since that version, so here it is the patchset adjusted to current master repo. This patchset adds, mainly, a check for ensuring IOVAs are within a restricted range due to addressing limitations with s