From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by dpdk.org (Postfix) with ESMTP id 787FA683D for ; Mon, 23 Mar 2015 18:47:05 +0100 (CET) Received: by labto5 with SMTP id to5so32645736lab.0 for ; Mon, 23 Mar 2015 10:47:05 -0700 (PDT) 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=NTCVL4WFX3qQr1vNNK07Owt+m/7rkCMN+F2szCahAFo=; b=CvtpGJUZssOh+lwjddHS8a4gbM+nzqtPzLh8lbh7NPFtSTdciMZDZAc2OADBxZFzSj o3sX9YmL4s/RdfxIW2FGSEdV325r47G+avkLvnVFU1HqJ4oO8CZQYoKZByX2Aio4N3ov yYsKE0VpEjRbuSCj3oNpUET5thcjYdA5th050YTH9PidTjVNn7AHO8ltKo5LjyXxiO9j 2EFuIINATlmFkiaOaiT6CfRRixE/L/jz8IeyxEbuBZrkasTGbPk9/RaaUhHa2mPcUICo AWkB+AVzeR0zQyCQX5XHfcHqMZRG0YcxKHLQpDQ9VaeKoXO7QL96uNBTA857nAZNwTfN 9OFw== MIME-Version: 1.0 X-Received: by 10.152.182.196 with SMTP id eg4mr286063lac.70.1427132825189; Mon, 23 Mar 2015 10:47:05 -0700 (PDT) Received: by 10.25.214.42 with HTTP; Mon, 23 Mar 2015 10:47:05 -0700 (PDT) In-Reply-To: <551038E6.6020006@6wind.com> References: <551038E6.6020006@6wind.com> Date: Mon, 23 Mar 2015 23:17:05 +0530 Message-ID: From: Shankari Vaidyalingam To: Olivier MATZ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Need info on --vdev option 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: Mon, 23 Mar 2015 17:47:05 -0000 Hi Olivier, Thanks a lot. I changed the ordering and it worked. But the pcap file was empty even when I specified the rx interface. I have a basic doubt. When the ethernet interfaces are bound to teh igb driver they become user interfaces and no longer shown in "ifconfig" command output. By what name can we identify those interfaces after they get bound to igb driver and become dpdk interfaces? Regards Shankari.V On Mon, Mar 23, 2015 at 9:31 PM, Olivier MATZ wrote: > Hi Shankari, > > On 03/23/2015 04:54 PM, Shankari Vaidyalingam wrote: > > Hi > > > > I'm trying to do a packet capture on the DPDK interface while running > l2fwd > > sample application and injecting packets from a traffic generator. > > I'm getting the below error when I give this command: sudo ./build/l2fw-c > > 0x03 -n 2 -- -p 0x03 --vdev > > 'eth_pcap0,tx_pcap=/home/controller/pkt_capt/try.pcap' > > > > [...] > > EAL: 0000:00:11.0 not managed by UIO driver, skipping > > ./build/l2fwd: unrecognized option '--vdev' > > ./build/l2fwd [EAL options] -- -p PORTMASK [-q NQ] > > -p PORTMASK: hexadecimal bitmask of ports to configure > > -q NQ: number of queue (=ports) per lcore (default is 1) > > -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to > > disable, 10 default, 86400 maximum) > > EAL: Error - exiting with code: 1 > > Cause: Invalid L2FWD arguments > > Please note the position of "--" in your command line. This is > used to separate the arguments of eal and application. As --vdev > is an eal argument, it should go before the "--". > > Regards, > Olivier >