From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qe0-x229.google.com (mail-qe0-x229.google.com [IPv6:2607:f8b0:400d:c02::229]) by dpdk.org (Postfix) with ESMTP id CA03EDE0 for ; Sun, 12 Jan 2014 05:12:02 +0100 (CET) Received: by mail-qe0-f41.google.com with SMTP id gh4so6107266qeb.0 for ; Sat, 11 Jan 2014 20:13:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uyqs33miODKrAv7Xpa7ZLJ/5hNtRCsp/J8sR/W2u5+I=; b=x/xR+8QqWIDBvbvcLSbnoL1K93IxSuReEKWYm7twd1lK4gYLVoCRzKpn8I7cKLku8N NWK5P0kv344moYOHxcRwtUYWBrH3D+2n8ArwIqLMcfksu64iWTJxZxWabcNeeXq1ZX6C qfAmFeOMhLwGypSzkETa7FaCA/rrsgSQSkv/VLzHDAYgxQrlxcUh8oqYMNCKuLWxFCqf ERIEFY0VgrN5VQChqcsHQ1BPWx1EFX0sr7nyfIpsf57Q/QSeOXDfz/dP3ueEZQIBHhtf jrX/g5cJ19rcJOSq3egUBfboFx9rDn422cGpVhdtvAWvr7TYyWUpcEC477IK0inAyOlZ H9gw== MIME-Version: 1.0 X-Received: by 10.49.94.133 with SMTP id dc5mr24840773qeb.49.1389499990733; Sat, 11 Jan 2014 20:13:10 -0800 (PST) Received: by 10.96.63.166 with HTTP; Sat, 11 Jan 2014 20:13:10 -0800 (PST) In-Reply-To: <5D695A7F6F10504DBD9B9187395A21797C6D013E@ORSMSX103.amr.corp.intel.com> References: <5D695A7F6F10504DBD9B9187395A21797C6D013E@ORSMSX103.amr.corp.intel.com> Date: Sat, 11 Jan 2014 20:13:10 -0800 Message-ID: From: James Yu To: "Jayakumar, Muthurajan" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] send/receive L2 packets from SR-IOV ports using l2fwd-vf 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: Sun, 12 Jan 2014 04:12:03 -0000 Jayakumar, Thanks for pointing this out. I was using l2fwd in DPDK 1.3.1r2 but could not consistently passing one directional traffic. I have the following question when using l2fwd: 1. Can I kill the l2fwd using ctrl-c on linux command and restart it again ? Would it be gracefully shutting it down ? 2. If I reboot the VM, would that recover the SR-IOV ? 3. Do I have to issue any commands on the guest or host, or reboot the host after I restart l2fwd to make the SR-IOV work again ? Sometime I could pass traffic one directional from Spirent. The traffic was sent to port 1 and received on port 2. But the other direction sending traffic to port 2, however, did not receive traffic on port 1. I have posted the description and setup on the other email thread with this title "[dpdk-dev] one directional traffic from SR-IOV port using l2fwd". If you know how to make bi-directional traffic work, please reply to that email thread. Thanks. James On Fri, Jan 10, 2014 at 9:13 PM, Jayakumar, Muthurajan < muthurajan.jayakumar@intel.com> wrote: > James, > > You are right. > > From 1.3 release, the L2 Forwarding sample application (chapter 8.0 in 1.3 > DPDK Sample Application User Guide) indicates that L2fwd and L2fwd-vf have > been merged into one L2 sample application example. > > (The Sample Application guide introduction referring the merge) > > The L2 Forwarding sample application is a simple example of packet > processing using Intel(r) Data Plane Development Kit (Intel(r) DPDK) which > also takes advantage of Single Root I/O Virtualization (SR-IOV) features in > a virtualized environment. > Note: Please note that previously a separate L2 Forwarding in Virtualized > Environments sample application was used, however, in later Intel(r) DPDK > versions these sample applications have been merged > > Thanks, > M Jay > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of James Yu > Sent: Friday, January 10, 2014 8:32 PM > To: dev@dpdk.org > Subject: [dpdk-dev] send/receive L2 packets from SR-IOV ports using > l2fwd-vf > > I found that it used to have l2fwd-vf in DPDK 1.2.3 release ( > http://www.dpdk.org/browse/dpdk/tree/examples/l2fwd-vf/main.c?h=1.2.3) > But in the next release 1.3.1, that directory is gone. Does that mean it > is merged to some other tool ? Which tool can I use to send/receive L2 > traffic from SR-IOV ports. > > In DPDK 1.3.1r2, to use use SR-IOV ports, should I use l2fwd-vf from 1.2.3 > release or simply use l2fwd ? > > Thanks > > James >