On 06-Nov-19 6:15 AM, Wangyu (Eric) wrote:
In 64K pagesize system, DPDK will read the size NIC need in uio/uio1/maps/map1/size, when the size small than pagesize(e.g.,82599 is 16K), dev->mem_resource[i].len will be 16K, but the mmap function applies for at least 1 page size, which is 64K. Then second NIC mmap, start address is first NIC address + 16K, which already used by first NIC. So if change the size to first NIC address + 64K, problem solved.
It seems like something that should be fixed at the mapping stage, rather than modifying length of the resources.
-- Thanks, Anatoly