From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) by dpdk.org (Postfix) with ESMTP id 4B69230D for ; Tue, 25 Jun 2013 20:15:51 +0200 (CEST) Received: by mail-pb0-f51.google.com with SMTP id um15so12953633pbc.10 for ; Tue, 25 Jun 2013 11:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=7h+s2CmoGwPkWVuZnzJBiFzeDSQTpBGfuSCZVDGAurM=; b=tZlTP2yrpMcBckSdAHOPcZYvkGJpoXevGSBE0Zzt9rUiCCshmovaUOpHRrhaSLq74n eFb2J/6Z6LAtsxROiZ6yHx1I0zMe3Yc+IxZUthbY9UWWbZaU53hn13ADrbMDu4FWEeVN h6mYTmV76XTl4z5IS8POvm8NopB9yWn7bK6221l7Sz+/LHC9n0XJggFz6nl+z6T45LXy mU03TIFEAqAGtxLavM7TS0DQrpe1+F4WdCECGXZ+QcoyCGhr7Bc3iHnhNEFEajn2cZ7W d2pXzQoCSu0TGreu19/h7bV4oSvFd3SlYOXkF9YqUHRDcORyXJhUGe/aT7RYRIAaAdHj OGEg== X-Received: by 10.69.2.228 with SMTP id br4mr266870pbd.91.1372184164482; Tue, 25 Jun 2013 11:16:04 -0700 (PDT) MIME-Version: 1.0 Sender: farrukh.aftab.khan@gmail.com Received: by 10.68.237.69 with HTTP; Tue, 25 Jun 2013 11:15:42 -0700 (PDT) From: Farrukh Aftab Khan Date: Tue, 25 Jun 2013 23:15:42 +0500 X-Google-Sender-Auth: Uw9d3wDSYLCmTm5zXNKcLCZO4gQ Message-ID: To: dev@dpdk.org Content-Type: multipart/alternative; boundary=047d7b5d9c21b0c46204dffe8560 Subject: [dpdk-dev] L2/L3 FWD App 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: Tue, 25 Jun 2013 18:15:51 -0000 --047d7b5d9c21b0c46204dffe8560 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am a newbie at DPDK, just trying to get some basic applications to run to understand it. One of the apps that I have been trying to run is provided with the source code i.e. L3 FWD App. Are there any changes which I should be hard coding in the file for it to work? >>From what I understand, I have to hard code a rule for LPM (, depth/subnet, output interface) in "ipv4_l3fwd_route_array". The destination IP is matched with the destination IP field of the incoming packet and the output port refers to the NIC port itself. I have tried running this application this way, but I do not see any packets being forwarded to my receiver. Are there any other changes I need to make? I am using Ostinato as the traffic generator. I am generating ICMP packets with dst_MAC=MAC address of the NIC port. Any help or heads up would be appreciated, thanks. Best regards - Farrukh Aftab Khan --047d7b5d9c21b0c46204dffe8560 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I am a newbie at DPDK, just trying to get s= ome basic applications to run to understand it. One of the apps that I have= been trying to run is provided with the source code i.e. L3 FWD App. Are t= here any changes which I should be hard coding in the file for it to work?<= /div>

From what I u= nderstand, I have to hard code a rule for LPM (<dst_ip>, depth/subnet= , output interface) in "ipv4_l3fwd_route_array". The destination = IP is matched with the destination IP field of the incoming packet and the = output port refers to the NIC port itself. I have tried running this applic= ation this way, but I do not see any packets being forwarded to my receiver= .

Are there any= other changes I need to make?
I am using Ostinato as the traffic generator. I a= m generating ICMP packets with dst_MAC=3DMAC address of the NIC port.
=

Any help or heads up would be appreciat= ed, thanks.
Best regards

-
Farrukh Aftab Khan


--047d7b5d9c21b0c46204dffe8560--