From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 304F8A6A for ; Mon, 23 Mar 2015 17:01:52 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Ya4rV-0001XX-10; Mon, 23 Mar 2015 17:06:00 +0100 Message-ID: <551038E6.6020006@6wind.com> Date: Mon, 23 Mar 2015 17:01:42 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 MIME-Version: 1.0 To: Shankari Vaidyalingam , "dev@dpdk.org" References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 16:01:52 -0000 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