From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 3DED5B66B for ; Tue, 17 Feb 2015 17:31:33 +0100 (CET) Received: by mail-wi0-f179.google.com with SMTP id hi2so35080571wib.0 for ; Tue, 17 Feb 2015 08:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AhstMItBIR+w9nFOOTZM/dkQS+1KN8aUN3kFQi0oJQ0=; b=EAUdPmwWc3FVaYa9wwDuTqb4IT1VxvYcFU7pjeNKxb9stkogEnaKIWuDPMnStuGcqi DcAHdhBoOwSwGVfSBNpzXg1lBT+1l1VU9hmMPKkRTNgxjhcHdws5zkHFjSxs5FWtEWaw VpfBQ7WQg3WA5kfbUN3GOYXQBCOikukZYTXouskBq+tJts2bO/kvCm0c6E/c3BnlZYSu 1MDsXGOuDIFRLJHJmQXqz/vR03AOGz8xnC6KdzRaETs/J1r2t0J7AAWGdopXaSBsZ15t 352SYMkG/1gaPzXJGIuon3Ld9Ec1hAj7nRn2IJ03TqcTNLMKxzS+iX64AwPsey/o51Aa nLsw== MIME-Version: 1.0 X-Received: by 10.181.12.105 with SMTP id ep9mr59283648wid.85.1424190693145; Tue, 17 Feb 2015 08:31:33 -0800 (PST) Received: by 10.27.220.66 with HTTP; Tue, 17 Feb 2015 08:31:33 -0800 (PST) Date: Tue, 17 Feb 2015 09:31:33 -0700 Message-ID: From: Jeff Wang To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] testpmd app issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2015 16:31:33 -0000 Hi, I'm new to DPDK. I have gone through the user guide, set up environment, hugepages. I can get the helloworld app work. Now, when I tried to play with the testpmd app, I got the following issue: [root@localhost dpdk-1.8.0]# build/app/testpmd -c 0x2 -n1 -- -i --nb-cores=1 --nb-ports=0x1 ..... EAL: TSC frequency is ~2594110 KHz EAL: Master core 1 is ready (tid=e07b3840) PMD: ENICPMD trace: rte_enic_pmd_init EAL: PCI device 0000:02:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 rte_em_pmd EAL: 0000:02:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:03:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 rte_em_pmd EAL: PCI memory mapped at 0x7f06df800000 EAL: PCI memory mapped at 0x7f06df820000 PMD: eth_em_dev_init(): port_id 0 vendorID=0x8086 deviceID=0x10d3 EAL: PCI device 0000:04:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 rte_em_pmd EAL: 0000:04:00.0 not managed by UIO driver, skipping EAL: PCI device 0000:05:00.0 on NUMA socket -1 EAL: probe driver: 8086:10d3 rte_em_pmd EAL: 0000:05:00.0 not managed by UIO driver, skipping*PANIC in main(): Empty set of forwarding logical cores - check the core mask supplied in the command parameters* 5: [build/app/testpmd() [0x428ea5]] 4: [/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f06df8e2af5]] ..... It says the core mask is not right. I set it to 0x2 because my CPU only has 2 cores. I don't quite get it. Can someone help me with this? And has anyone else encountered the same issue? Thanks!