From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by dpdk.org (Postfix) with ESMTP id 07B66568B for ; Sat, 23 Jul 2016 03:18:19 +0200 (CEST) Received: by mail-yw0-f174.google.com with SMTP id z8so96257026ywa.1 for ; Fri, 22 Jul 2016 18:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=O6K1r+OWznZFAJPKbk9VEFJIlA6/koR4Py9x0aVTICw=; b=RQPJF/dUh0bUqx7PQE1mCb0qHybaJL2jAejF7Tph2c56I3u8uSjEGc//V/QzyhPhAY fkq/SJJeCOnXXSBYV5se/eNsCzH4r5Xkm8mzWgL/DBnPTzlReAJtoO6MJTIYEiuXMELu S7UixA4I1bl8krywBkSfoURK/+F5sFuFw3jvV90+CIzDo+dRR2KGBR1KCaVvyI66X+O5 9id2UO6fQAr86zWgFGVtQoikfjw9EdX9ED8/1obdQUWX7w0udKFszXztcQ4QlitpAjOn ENApzJ6Dq6H6l+skd59A3PZDyq7fhAy1vt9ewDnRKRuEdL+tuf9qLCVTKw4K+yvMsI8Y UsGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=O6K1r+OWznZFAJPKbk9VEFJIlA6/koR4Py9x0aVTICw=; b=JE1jhyC+U7z6+gzBQLMFmz68TQWoNXSlXXx2VrPm6jWQC8kvili/58ReUbren0Hy1X SuNF37kVcSkdCm7V2kdq3sEklh0yOB4uCwXvlxYAErk5NPRBtIfmZ9wzRZYzYk54dZvM azIvnq+oVlenqc4sGAoUmgNRmc6AcyOU0WIjm3tFRGDuC/LcW6J0AFihZa3ZLiGaJZ9I GW4rZ0YzkqbtNVnCkFcFjqlhDhTgi6p2EF9vK4jHG0QTMgw7LHoz+w8d/TKVXrAdM2qD RTuvHhdcUlghSWOnPTyzwBR9mFoaLHCoAd2bOllKpDOl46j9z88iNlMRnmILNsx/hMsL pxfQ== X-Gm-Message-State: AEkoouuhyu0K2sZxM9hvHmGu2uBh2ach7d+o0cidbp8X/jWSsBaEAb63qKXWsmSW74hLztaWubNSOlnMP5x00Q== X-Received: by 10.37.231.20 with SMTP id e20mr5884867ybh.125.1469236698312; Fri, 22 Jul 2016 18:18:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.119.214 with HTTP; Fri, 22 Jul 2016 18:18:17 -0700 (PDT) In-Reply-To: References: From: Charlie Li Date: Fri, 22 Jul 2016 20:18:17 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [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: Sat, 23 Jul 2016 01:18:19 -0000 Never mind - I figured it out. On Wed, Jul 20, 2016 at 3:06 PM, Charlie Li wrote: > I am also attaching the full logs from l3fwd and l2fwd. > > On Wed, Jul 20, 2016 at 3:02 PM, Charlie Li wrote: > >> 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 >> >> >