From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D8255A0487 for ; Thu, 4 Jul 2019 11:08:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7821A1B9AF; Thu, 4 Jul 2019 11:07:58 +0200 (CEST) Received: from smtp1.iitb.ac.in (smtp4.iitb.ac.in [103.21.127.18]) by dpdk.org (Postfix) with ESMTP id E8DFE1B955 for ; Thu, 4 Jul 2019 11:07:56 +0200 (CEST) Received: from ldns1.iitb.ac.in (ldns1.iitb.ac.in [10.200.12.1]) by smtp1.iitb.ac.in (Postfix) with SMTP id 1F9F9108022A for ; Thu, 4 Jul 2019 14:37:56 +0530 (IST) Received: (qmail 31024 invoked by uid 510); 4 Jul 2019 14:37:56 +0530 X-Qmail-Scanner-Diagnostics: from 10.200.1.25 by ldns1 (envelope-from , uid 501) with qmail-scanner-2.11 spamassassin: 3.4.1. mhr: 1.0. {clamdscan: 0.100.0/25499} Clear:RC:1(10.200.1.25):SA:0(0.0/7.0):. Processed in 2.098313 secs; 04 Jul 2019 14:37:56 +0530 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ldns1.iitb.ac.in X-Spam-Level: X-Spam-Status: No, score=0.0 required=7.0 tests=IITB_ORIG,PROPER_IITB_MSGID, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.1 X-Spam-Pyzor: Reported 0 times. X-Envelope-From: nileshunhale@cse.iitb.ac.in X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received: from unknown (HELO ldns1.iitb.ac.in) (10.200.1.25) by ldns1.iitb.ac.in with SMTP; 4 Jul 2019 14:37:53 +0530 Received: from jeeves.cse.iitb.ac.in (miller.cse.iitb.ac.in [10.129.3.1]) by ldns1.iitb.ac.in (Postfix) with ESMTP id D7A0C360036 for ; Thu, 4 Jul 2019 14:37:53 +0530 (IST) Received: by jeeves.cse.iitb.ac.in (Postfix, from userid 51934) id C74858C0DF3; Thu, 4 Jul 2019 14:37:53 +0530 (IST) Received: from www.cse.iitb.ac.in (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jeeves.cse.iitb.ac.in (Postfix) with ESMTPSA id 6AD4C8C0A07; Thu, 4 Jul 2019 14:37:52 +0530 (IST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 04 Jul 2019 14:37:52 +0530 From: Nilesh Unhale To: Cc: DIPTYAROOP MAJI Message-ID: <1d5f7cca6f0561aa6870ce552be3145a@cse.iitb.ac.in> X-Sender: nileshunhale@cse.iitb.ac.in User-Agent: Roundcube Webmail/RCMAIL_VERSION Subject: [dpdk-users] Issue while running l3fwd application over DPDK 19.05 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: , Errors-To: users-bounces@dpdk.org Sender: "users" Hello, We tried to run l3fwd provided with DPDK using following command sudo ./l3fwd -l 1,2 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,2)" Following are the logs and inline comments starting from ******: $ sudo ./l3fwd -l 1,2 -n 4 -b 01:00.0 -b 01:00.1 -- -p 0x3 --config="(0,0,1),(1,0,2)" EAL: Detected 24 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: Device is blacklisted, not initializing EAL: PCI device 0000:01:00.1 on NUMA socket 0 EAL: Device is blacklisted, not initializing EAL: PCI device 0000:81:00.0 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e i40e_GLQF_reg_init(): i40e device 0000:81:00.0 changed global register [0x002689a0]. original: 0x00000000, new: 0x00000029 i40e_GLQF_reg_init(): i40e device 0000:81:00.0 changed global register [0x00268ca4]. original: 0x00001840, new: 0x00009420 EAL: PCI device 0000:81:00.1 on NUMA socket 1 EAL: probe driver: 8086:1583 net_i40e LPM or EM none selected, default LPM on Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... Port 0 modified RSS hash function based on hardware support,requested:0xa38c configured:0x2288 Address:3C:FD:FE:9E:7B:5C, Destination:02:00:00:00:00:00, Allocated mbuf pool on socket 0 LPM: Adding route 192.18.0.0 / 24 (0) LPM: Adding route 192.18.1.0 / 24 (1) LPM: Adding route 2001:200:: / 48 (0) LPM: Adding route 2001:200:0:0:1:: / 48 (1) txq=1,0,0 txq=2,1,0 Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=2... Port 1 modified RSS hash function based on hardware support,requested:0xa38c configured:0x2288 Address:3C:FD:FE:9E:7B:5D, Destination:02:00:00:00:00:01, txq=1,0,0 txq=2,1,0 Initializing rx queues on lcore 1 ... rxq=0,0,0 Initializing rx queues on lcore 2 ... rxq=1,0,0 Checking link status..........................................................................................done Port 0 Link Down ******* ==> why is this down and how to bring it up? *********** Port1 Link Up. Speed 40000 Mbps -full-duplex L3FWD: entering main loop on lcore 1 L3FWD: -- lcoreid=1 portid=0 rxqueueid=0 L3FWD: entering main loop on lcore 2 L3FWD: -- lcoreid=2 portid=1 rxqueueid=0 ******* ==> it is getting stuck here, because no packets are being received. But, the NIC is bound to DPDK and is not showing in ifconfig. So, how to allocate IP/ send packets to this NIC? Do we need to add any route so that when packets come to eth iface, it will be redirected to dpdk iface? System specifications: 2 Machines each with -> Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial Kernel: 4.15.0-29-generic DPDK: 19.05.0 Hardware: CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz NIC 1: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (i40e) NIC 2: Intel Corporation I350 Gigabit Network Connection (igb) Regards, Nilesh Unhale