From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id CB93F2BD3 for ; Wed, 27 Jul 2016 19:51:09 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id g62so32634678lfe.3 for ; Wed, 27 Jul 2016 10:51:09 -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 :cc; bh=3x0CM3r6Acnai+s5eanf3Wqcp+btZ+UEmL1Ntqaao0A=; b=Ef+YQs+TodIWycA3bLY7xnvXAUFHZk1cjjJ2XwJF9F2QvQ4b+7PYLptJoX/QaMqMbT tva8mtqs5jLVhnP4e2wQsf9ZXPw6OH6Gws6O1zrnVECnKdx9i5Tz/B2xOcFZKfFNMjwz 1TDQe0WxQ/WBeWGDcZ9O8EtkMEvm/Gbi+OWYyPz2ozKPNWpKqMHwCi4EtvvWRVxNoG9J RrQ0s3+qjNSITlZVty6efwrpBJP0+WuAg6vjoPdSpji9xg1YGvPQsyPZIs2nb+vOHYJJ kqRCsNwAFYOZ9dtBK6OrqxRFaVnBiEMBTlDye6nIBInDyTj7LWEN7pG7FrHDHWzGFItg 90hA== 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:cc; bh=3x0CM3r6Acnai+s5eanf3Wqcp+btZ+UEmL1Ntqaao0A=; b=PYdH1off1+P3YUxV95iZciPcYGaHM51wDEIbMdHa7Hrj7/wOSw1Nr5CGpDTpMRBw7A GHYyh1cnWAbhgsnWykln4IEI2iFfAnaBFwxcuNsutHfOOrn9EDKemlhWHMqLTri9dAP8 HuGQQkQCq3Q6ij0ogqhAj1NlVVCzyWKEQq94Zv/GI6/wqqaaWnMLRUafpXwc9xWeXUhB gObqGwoIrrcEJYrqhusIvUqH9DHlpgBGS6PRczmAVBLp5fxAbw2oFvW/SMkuZE1HQSR2 KOZxt2HlORBhswzlsR2P6YT5FEKu2Gh/lesAu7R3Aue4ku8lkDoud4HY76z7xOn7W6Wm tN/w== X-Gm-Message-State: AEkoousOrW25fUUAjrUO+V7iCg+VWdf4FaB5IcEcfXWiBEJ8nt4iylE6J+XR7jaCFJock0cYeUh5BP+LyDCfBg== X-Received: by 10.25.88.145 with SMTP id m139mr10437070lfb.19.1469641869433; Wed, 27 Jul 2016 10:51:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.158.142 with HTTP; Wed, 27 Jul 2016 10:51:08 -0700 (PDT) In-Reply-To: References: From: Vincent Li Date: Wed, 27 Jul 2016 10:51:08 -0700 Message-ID: To: Charlie Li Cc: users@dpdk.org Content-Type: text/plain; charset=UTF-8 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: Wed, 27 Jul 2016 17:51:10 -0000 could you please share how you figured out your problem? it appears I am having same kind of network link setup and no packet being forwarded, there must be something I am missing, wondering if your solution would apply to my setup. Thanks! Vincent On Fri, Jul 22, 2016 at 6:18 PM, Charlie Li wrote: > 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 >>> >>> >>