From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) by dpdk.org (Postfix) with ESMTP id 1B20868BB for ; Fri, 24 Jan 2014 19:53:38 +0100 (CET) Received: by mail-oa0-f41.google.com with SMTP id j17so4276421oag.0 for ; Fri, 24 Jan 2014 10:54:56 -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=sqHJY9w4nzttZT8Uwr/t/dFDotn6BZ7DAVNDnRq3BmQ=; b=v/ATZ08rMVhNnURznuXUqKRNICFYNT7FTvmNPEY/9jwf7KA8PDCEShTXu4CgLj+uMq HLTCeKwC+0wfpJPJK2Qy0xbTOK4hg4Vej33nWKA7XNqnUZjtE8WYgS9YEbOGuwiECanJ EzEwPuivwQtjwdfYoHimUsSaJ8r0sRomahCw4obJ/UFGODF7DzL204G5lIuWzxZLP+hI n43JYQQFc7H4utqYXw/0czhqVDVgQK5pRFb4Z/haNDG62acsKnPkP2dqUhinkKYEVFQr vUErkOsp79ErcyGNcsWaYPyXj3swggeYuvjKBOl6pEnU6svg42WvWFCKlG8d+7ECMIO4 F4qg== X-Received: by 10.60.68.33 with SMTP id s1mr1315352oet.74.1390589696098; Fri, 24 Jan 2014 10:54:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.191.104 with HTTP; Fri, 24 Jan 2014 10:54:36 -0800 (PST) From: Banashankar KV Date: Fri, 24 Jan 2014 10:54:36 -0800 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] pktgen offload checksum flag not able to make it work with pacp packets. 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: Fri, 24 Jan 2014 18:53:39 -0000 I was modifying a packet in pktgen_pcap_mbuf_ctor() and after modifying I wanted to offload the checksum calculation to h/w so I am setting these flags in pktgen_pcap_mbuf_ctor function. m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr); m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr); m->ol_flags = PKT_TX_IP_CKSUM I even tried with setting .txq_flags = 0 in rte_eth_txconf struct in pktgen.c. But still not able to get the h/w checksum. Am I missing anything ? Thanks Banashankar