From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by dpdk.org (Postfix) with ESMTP id 08A185921 for ; Sun, 15 Mar 2015 08:53:10 +0100 (CET) Received: by lbcgn8 with SMTP id gn8so2696720lbc.2 for ; Sun, 15 Mar 2015 00:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=ozTLjPUgTAE+7DzXH5TaTvTnbj4SX1axJKsk4F0jno0=; b=pV+gEjEKOX9W+Wo/jlpYj9c3jZEdGZjRxqZpOK3ZUyoTysBypEWCtgev8NjNw+XFG3 smior1e1ZVPzxLycayzPuwk0SWKYRUBhKWSizJhFwvMHujCstv2D/aSay8i1bTi+WGY0 qsiSNlmwsve9m4qUFy51l/jB4xmHY0+1zuFjmOgX+LebPrW5+KmQy4vb97nUyv7FNV57 VzpYxhwkuRUbkR14Z3MQvvcHdq6WWj3VpKOQ1hB3fJwG4o2UCk4bB1GKHFJYaxN6VoDL w1+JIOpKNmAdZFugPgdJcWAefLvnqeYOLEhMsFPuvT87YnzCdLQOMuct4UH7oe0+hZE3 gphQ== MIME-Version: 1.0 X-Received: by 10.112.147.229 with SMTP id tn5mr16401294lbb.106.1426405989652; Sun, 15 Mar 2015 00:53:09 -0700 (PDT) Received: by 10.25.214.42 with HTTP; Sun, 15 Mar 2015 00:53:09 -0700 (PDT) Date: Sun, 15 Mar 2015 13:23:09 +0530 Message-ID: From: Shankari Vaidyalingam To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Queries on Pktgen 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, 15 Mar 2015 07:53:10 -0000 Hi, For testing an application that I'd developed, I'd like to send LLDP frames from pktgen to the NIC port and then use DPDK to receive packets from the port and process the packets. I have a PCAP file which contains LLDP frames in it. I heard that pktgen has the ability to generate the packets specified in input pcap file. I checked the options available with pktgen and can see only -s and -f options to be relevant. But -s option seems to indicate the output pcap file, and -f option is for specifying the Lua script or command list to execute. Hence please let me know which option I need to use for specifying the input pcap file from which the pktgen should generate the packets from, Also would like to know how I can specify the transmit and receive ports separately in the pktgen commandline Regards Shankari.V