From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) by dpdk.org (Postfix) with ESMTP id D7041231C for ; Wed, 5 Feb 2014 03:50:41 +0100 (CET) Received: by mail-oa0-f49.google.com with SMTP id i7so10787197oag.8 for ; Tue, 04 Feb 2014 18:52:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=IVjr9Zx9XXx1axjdslDjfg7el9KXDwZv09TJMO5ciTY=; b=kppZPGCD4GIjJLDe2usnEKw4wpSwKKW7WRti8p/jO0Z7yaJZm6FKVrHLlYOt8ixQqW Aejknxf3R7EtNDV/eFC0uNJr5bm1NBbVOJJsJF4vLYOymGmMUicgKo0HMrTR9bwP8y1s o0v0bGcjmJQ1RGtpPNrjWx5MoFiWlOgGS29BCJ1iUs04T3YvCk2lRzTEM8cOhJL3zC+l +xk4IS0PsY02MyZueUE0jDnRm1cZ79EXRq45d2Uov8pqDI81GXPQQjSlS01vHrKkKxbl 56Vlgoy5ibKMhrz0/VHAg0LlUdFvwWbVOdBzSMAXApfqOFFR7wlvMnXik6Cj3h1cN1pi NSuw== X-Received: by 10.182.117.195 with SMTP id kg3mr38502722obb.17.1391568722606; Tue, 04 Feb 2014 18:52:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.191.104 with HTTP; Tue, 4 Feb 2014 18:51:41 -0800 (PST) From: Banashankar KV Date: Tue, 4 Feb 2014 18:51:41 -0800 Message-ID: To: "" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Sending modified pcap packets from 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: Wed, 05 Feb 2014 02:50:42 -0000 Hi, I am trying to send out modified pcap packets in a loop as shown below.I am trying to modify source IP and source port. for each *packet[12 in number]* for each *sip[2 in number]* for each *port[10 in number]* change to *port *and *sip *in *packet* ret = rte_eth_tx_burst(.....) For the 6th packet, 80% of the packets sent out are same wrong packet and other time i see the same other packet 2-3 times instead of the correct packet. But if I place a breakpoint and send the packets one after the other, all the packets have their respective modified port and source IP. I am not able to figure out why it's behaving like this. is there any caching of the packets or something like that? In rte_mempool_create I see its passing 0 for cache size. Thanks Banashankar