[dpdk-dev] [PATCH] eal: map uio resources after hugepages when --base_virtaddr is configured

XU Liang liang.xu at cinfotech.cn
Wed Nov 5 10:49:52 CET 2014


When start a secondary process, we got error message "EAL: pci_map_resource(): cannot mmap(11, 0x7ffff7fba000, 0x20000, 0x0): Bad file descriptor (0x7ffff7fb9000)"

The secondary process link difference shared libraries, so the 0x7ffff7fba000 is used. 

We know the --base_virtaddr is designed for this situation for hugepages.

This patch map the device resouce into address that is after hugepages when --base_virtaddr is  configured.


More information about the dev mailing list