From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by dpdk.org (Postfix) with ESMTP id 763A0902 for ; Wed, 20 Jul 2016 22:02:53 +0200 (CEST) Received: by mail-yw0-f181.google.com with SMTP id r9so55668751ywg.0 for ; Wed, 20 Jul 2016 13:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=qV3J1fLzKeI75UVXHRN1xZQm435T9/N3K03D4aPOM9s=; b=hUG3t8id6eQqHvbf2bUrYQZzO1W0B0hS9+/sLO/d2kalWTt78x7+UqWUkhKcE4HRx0 kgmB6CpPHC6dnLBNq6tV6F7wYSsD1loxGCOYYxn9Eb9WGwGEISzRIcEJpcjJ0B9QjLne s7KgHnpU5Lb4iVU3Rlf7mGfaFPt0mQ4yKFfxPRV69zuBzPn+i3rSuyB+Ek6eJYylp2Da wqMHuedNCQAQ43ch89u87Mr13plJf6x1ocGOlyj8jbvT5r7fVLM9rjGeK5PQfK2p45NA 2pqChMPPkjX9lkugHwOYiLDQkGOoWcDaCS8ol+XL9+W6pWlmvCAm42NbxZ4JJdK2OlaT mdMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qV3J1fLzKeI75UVXHRN1xZQm435T9/N3K03D4aPOM9s=; b=SkoutVaXLMHSVNVacZ+Ek0lIjP9x+opAbnixZzKxCnDosQKCLEMWTDVW/y6aNXpVuE XJxo216Sumlc1sdxfkopNHAPwLglUtazzLau8Cet3zTQQFn4o4Phpbdn/swFhj6d9wQu 56ZIOEIgGbCV6Vt4z2Gg0wJhpoKXI25feYOhYu6L7ceGmVEowJWBOwQd59Z0kzXZVJjb A3YK/xtPJe1RgtCqbkrTxwpaWrdKIScvGMi0a9ENWHXFcPFvyhT8xQ2H6ICSaMtpTCry n+TIUP7bxcGFvMd93aKMB21huwmekY6hL0xbakUfrltitvhvVbqXl6sHiSvBETH1QB0+ qWgw== X-Gm-Message-State: ALyK8tIdg8mcoX7htEGRIYjoXOHMzZpCe3dyA6RTrpaFMF/qDzG3MMghf9yemRPAdCEttB6A0JZHndg9vKkaPA== X-Received: by 10.37.206.75 with SMTP id x72mr6321303ybe.101.1469044972778; Wed, 20 Jul 2016 13:02:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.119.214 with HTTP; Wed, 20 Jul 2016 13:02:52 -0700 (PDT) From: Charlie Li Date: Wed, 20 Jul 2016 15:02:52 -0500 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] How to test l3fwd? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 20:02:53 -0000 Hello, My setup is dpdk-2.2.0 on Fedora 23 Server with kernel 4.5.7. I have been testing L2 throughput with l2fwd and an Ixia traffic generator. It works as expected. Command: ./l2fwd -c 0xf -n 4 -- -p 0x3 Ixia traffic: MAC (Ethernet frames) Now I am moving to test L3 throughput with l3fwd, but cannot start traffic from Ixia Command: ./l3fwd -c 0xf -n 4 -- -p 0x3 --config="(0,0,2)(1,0,3)" Ixia traffic: IPv4 (IP packets) My question is: What are the IP addresses of the two ports? "LPM: Adding route 0x01010100 / 24 (0) LPM: Adding route 0x02010100 / 24 (1)" Does it mean the IP addresses are 1.1.1.0 (netmask 255.255.255.0) for port0 and 2.1.1.0 (netmask 255.255.255.0) for port1? I set up the following two flows, but Ixia complains "unreachable" Flow1: Ixia PortA (1.1.1.100) -> DPDK Port0 (1.1.1.0) .........(l3fwd) ........ DPDK Port1 (2.1.1.0) -> Ixia PortB (2.1.1.100) Src IP: 1.1.1.100; Dst IP: 2.1.1.100; Gateway: 1.1.1.0 Flow2: Ixia PortB (2.1.1.100) -> DPDK Port1 (2.1.1.0) .........(l3fwd) ........ DPDK Port0 (1.1.1.0) -> Ixia PortA (1.1.1.100) Src IP: 2.1.1.100; Dst IP: 1.1.1.100; Gateway: 2.1.1.0 Thanks, Charlie