From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.noida.interrasystems.com (mail.noida.interrasystems.com [14.141.65.140]) by dpdk.org (Postfix) with ESMTP id 385A1A6A for ; Wed, 23 Sep 2015 15:13:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.noida.interrasystems.com (Postfix) with ESMTP id F1661E00B46; Wed, 23 Sep 2015 18:45:17 +0530 (IST) Received: from mail.noida.interrasystems.com ([127.0.0.1]) by localhost (mail.noida.interrasystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 85kkSxaL_FFp; Wed, 23 Sep 2015 18:45:15 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.noida.interrasystems.com (Postfix) with ESMTP id 9DB30E00D20; Wed, 23 Sep 2015 18:45:15 +0530 (IST) X-Virus-Scanned: amavisd-new at noida.interrasystems.com Received: from mail.noida.interrasystems.com ([127.0.0.1]) by localhost (mail.noida.interrasystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ceCHDAUEmSQr; Wed, 23 Sep 2015 18:45:15 +0530 (IST) Received: from [192.168.4.132] (unknown [192.168.4.132]) by mail.noida.interrasystems.com (Postfix) with ESMTP id 81266E00B46; Wed, 23 Sep 2015 18:45:15 +0530 (IST) From: K Rahul To: dev@dpdk.org Message-ID: <5602A581.2050006@noida.interrasystems.com> Date: Wed, 23 Sep 2015 18:43:37 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: Priyankar Ghosh , Ramandeep Sandhu Subject: [dpdk-dev] Capture packets using DPDK 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: Wed, 23 Sep 2015 13:13:48 -0000 Hello, We are building a real-time application to monitor IP packets. This application captures packets on UDP which are received by joining multicast sessions. We have downloaded DPDK v2.1.0 and built it with target 'x86_64-native-linuxapp-gcc' using the setup.sh script provided in tools directory. We are using 64-bit Centos 6.5 with kernel version 2.6.32 and we had set the number of hugepages (per node) to 512. Our capture card is *Broadcom NetXtreme II BCM5709 Gigabit Ethernet* on which we want to use dpdk and the system config is i7 quad-core@3.4Ghz with Hyperthreading ON, which supports 2MB hugepages. We have gone through the DPDK documentation(http://dpdk.readthedocs.org/en/latest). Using the dpdk_nic_bind.py script, We were able to bind */uio_pci_generic/* driver with *Broadcom NetXtreme II*, which was also reflected by the script using the '--status' argument. To test dpdk, I have built pktgen v2.9.2 application and also gone through pktgen documentation(http://pktgen.readthedocs.org/en/latest). But whenever I run the command ' ./ pktgen -c 0x1f -n 3 -- -P -m "[1:3].0" ' I get the following error: />>> Packet Burst 32, RX Desc 512, TX Desc 512, mbufs/port 4096, mbuf cache 512// //!PANIC!: *** *Did not find any ports to use* ***// //PANIC in pktgen_config_ports():// //*** Did not find any ports to use ***6: [./pktgen() [0x42f825]]// //5: [/lib64/libc.so.6(__libc_start_main+0xfd) [0x7ff3c9727d5d]]// //4: [./pktgen(main+0x489) [0x42e0f9]]// //3: [./pktgen(pktgen_config_ports+0x118b) [0x4504eb]]// //2: [./pktgen(__rte_panic+0xc9) [0x428f95]]// //1: [./pktgen(rte_dump_stack+0x16) [0x4ef116]]// //Aborted (core dumped)/ Is there any way to find the ports available that can be used by DPDK applications, or is there any way to configure ports? From the documentation mentioned above (http://dpdk.readthedocs.org/en/latest), we were not able to proceed any further. Any help on how to use DPDK step by step will be appreciated. Regards, K Rahul Interra Systems