From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mario Gianni" Subject: Cannot mmap device resource in DPDK 1.7.0 multi-process/multi-thread Date: Fri, 24 Oct 2014 13:21:08 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi all, I have a problem since I updated to 1.7.0 version, I got a multi-process, multi-threaded application, In my application first I launch a master process, then I launch a secondary process with multiple threads in it Well, when the number of lcores reserved for the secondary process exceeds a certain number (eg. 4) i got an error in rte_eal_init() on the secondary process when it tries to map PCI memory: EAL: pci_map_resource(): cannot mmap(12, 0x7ffff2e96000, 0x800000, 0x1000): Success (0x7ffff559b000) EAL: Cannot mmap device resource EAL: Error - exiting with code: 1 Cause: Requested device 0000:01:00.0 cannot be used Can you help me?