From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id B796F2C48 for ; Sat, 11 Mar 2017 04:35:23 +0100 (CET) Received: by mail-wr0-f173.google.com with SMTP id u108so75096760wrb.3 for ; Fri, 10 Mar 2017 19:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6vSdhsnJnVDb5UrlbCzIiICLQSLh8rfiv7RVQqZxFLM=; b=rDOImUYhziJwIz4PSny4H2lsR/ysUoJkasFH6JZUPpo5h00kH1/zdrdtuohaO9MFR8 9MFYd8IhonLSrRjI4zGdaipzdydSg+WhAy9qQ54YIpU3XPaI2Mb2Txga61hOL0UOUjZg luwGP4RRfK5hw2y/yGGmz7LWV6gcDPx+RHGpdN7nDi9KZdFpsC7tMo7Ey6wnHwNAsls5 a519svnsAQF3r92nWUCzpK1c0cD5lWjJ4RWiICjGGqBolWwmgZSZlqUS6sqRQKB7GsA0 w8amotcx4hOBxApWNKHdF6FLMJMv0TAR/4fuxzVodHzUKCakmxPkUtdGOXvcLgHcd4Vi /AVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6vSdhsnJnVDb5UrlbCzIiICLQSLh8rfiv7RVQqZxFLM=; b=LRD3+fAaHxkEIhkvJgFXAJEFiQP1vlN7OSXeCBBwm/A6pCF99yCkSBOTwBEHcuEdfV FkDmps+NBQBorMrqgZN7dQ2UnDSdXefCsVCEC6B7BzEvvWxmcCX1bTwzuRi1YLB3NKpX Nn4RCJzI32YfQAs3IWdpKhMXB52ZNvY86YxY5tGVI3MdAjzGlHXcdAMKZoIs+VfSnWUx eNgLlBQox/lllCckvvFWRb0O4G0iArw2YjQfvpazsNOupxABTd75YOOQC+nVKbas/XQe mOLiPy9VrePPNWkhNgxn42uo+QrheGb5oyR5+kSPaadCpad9qQRkLMjEKgi6L4FmresU rroA== X-Gm-Message-State: AMke39makvJBZevwqqRjcTvYZLzoJ/wSxtk+/CFA7yWueToPpd5tViFCfDVSchd81sgAAscL6RKXpIIL9NSFNw== X-Received: by 10.223.151.138 with SMTP id s10mr20213431wrb.35.1489203323354; Fri, 10 Mar 2017 19:35:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.141.80 with HTTP; Fri, 10 Mar 2017 19:35:03 -0800 (PST) From: Kai Zhang Date: Sat, 11 Mar 2017 11:35:03 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Issue with more Cores assigned: Cannot mmap device resource file X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2017 03:35:23 -0000 Hi, there I am using DPDK-16.11 on XL710 40GbE NIC. OS: CentOS 7.3.1611 with Linux kernel version 3.8.0-30. I have a master process and a secondary process. When I run the secondary process with less than or equal to 4 cores, it works correctly. Such as: sudo ./program -l 4,5,6,7 -n 4 --proc-type=secondary sudo ./program -c 0x0f -n 4 --proc-type=secondary However, there will be error in the rte_eal_init if I assign more than 4 cores. sudo ./program -l 0,1,2,3,4 -n 4 --proc-type=secondary sudo ./program -c 0x1f -n 4 --proc-type=secondary EAL: Cannot mmap device resource file /sys/bus/pci/devices/0000:02:00.0/resource0 to address: 0x7fff65bfc000 EAL: Error - exiting with code: 1 Cause: Requested device 0000:02:00.0 cannot be used Anyone knows why this happens? Thanks a lot, Kai Zhang