From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) by dpdk.org (Postfix) with ESMTP id 34E7E156 for ; Thu, 7 Nov 2013 22:04:16 +0100 (CET) Received: by mail-la0-f41.google.com with SMTP id ea20so947529lab.0 for ; Thu, 07 Nov 2013 13:05:09 -0800 (PST) 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 :content-type; bh=SEWhomoXSCbEgsdG7lSIUscbndtTyMyvk6KccKCw2Fs=; b=wyq7MK+QCfSFwPTrq/OcqD596Zvd+gyeBEFev8O3EZEm+Y7HRuEJ7oo1cgpLP3KRyf OTVKLIWCirIsvd48tdMGejh56z8KEE2KjruZRLoROmqG1CdQBOOtckl8C1C3daTQayg0 OGmxSkTqdV1K6RQcfKp57TVBe4OVCGlzAwfPbC5LYu5cHPot5qoM/2uNRSRYHUvo3UuO ujzMQw6hD1DKDfO6DwucBRiKGJAmSUGgyegnc4Rjc+3mCbiYaSobotBppf4BmoaXidgh 6ZkbXHXSVixIUfsl90jKDxvYsIwxndhkIWox4x8OT1k7TgbPEXdntLrL02cha8GxzIRL MfaQ== MIME-Version: 1.0 X-Received: by 10.152.120.73 with SMTP id la9mr7740256lab.3.1383858309719; Thu, 07 Nov 2013 13:05:09 -0800 (PST) Received: by 10.114.12.233 with HTTP; Thu, 7 Nov 2013 13:05:09 -0800 (PST) In-Reply-To: References: Date: Fri, 8 Nov 2013 01:05:09 +0400 Message-ID: From: Vladimir Medvedkin To: "dev@dpdk.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] TX IP checksum offloading 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: Thu, 07 Nov 2013 21:04:16 -0000 Hi, Did you set m->pkt.vlan_macip.f.l2_len = sizeof(struct ether_hdr); m->pkt.vlan_macip.f.l3_len = sizeof(struct ipv4_hdr); fields? Regards, Vladimir 2013/11/7 Daniel Kaminsky > Hi, > > Did anyone had an experience using the PKT_TX_IP_CKSUM flag? > I have an application that generates IP traffic but whenever I try to set > this flag on (*m->ol_flags = PKT_TX_IP_CKSUM)* the rte_mbuf nothing is sent > out. > Retrieving that statistics from the ethernet device show zero for opackets > and oerrors. > > I'm using ixgbe driver and DPDK 1.5.0-8 (from Intel) distribution. > > Thanks, > Daniel >