From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f45.google.com (mail-qa0-f45.google.com [209.85.216.45]) by dpdk.org (Postfix) with ESMTP id A0FE8156 for ; Sun, 10 Nov 2013 16:58:32 +0100 (CET) Received: by mail-qa0-f45.google.com with SMTP id hu16so1109531qab.18 for ; Sun, 10 Nov 2013 07:59:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=a/rOjUwPmcpGGD9m3jdM0OodLsNsyx1MgXdJziGDBqY=; b=i6nGEOTBNmctOTI9l9RMsMJ6fPT84HUOcNKohrrMVx0rh7TIi44K0PtvJrLgkyGIis fG7F6Uu21HL0wBAyBcyIecwxgkuDFs4rApaS6vJgoV9NDGq5fq+nabqyfUT7crEth0FS JEqPrOB+BM+9fdhXki3NqKoHD7uQelff+p684wEtoZ58ADupqfokd7oLZkrnvgVFU1zr lh1MTlfSjnoMvK/853byg6qZzHxss0wAzsfrVJtNjKPVacT8KUCmHdht27ahU1kjS6eA u46HOy6ik29qitY5Jvxkc/kTmo0gPwi4lYJfCD51EomPAPmxA7I8uTGy3aQYsrOLDz2v d/5Q== X-Gm-Message-State: ALoCoQmh6I139J4PGKvKU0F/FiGBajNuKshWCxi6Vev/vY5DesE5KVKUDw7OpyNvKMCdhT0khZL/ MIME-Version: 1.0 X-Received: by 10.229.118.10 with SMTP id t10mr39916918qcq.5.1384099167417; Sun, 10 Nov 2013 07:59:27 -0800 (PST) Received: by 10.140.37.203 with HTTP; Sun, 10 Nov 2013 07:59:27 -0800 (PST) X-Originating-IP: [109.66.162.27] In-Reply-To: References: Date: Sun, 10 Nov 2013 17:59:27 +0200 Message-ID: From: Daniel Kaminsky To: Vladimir Medvedkin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" 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: Sun, 10 Nov 2013 15:58:32 -0000 Thanks Vladimir, Setting those values made it work. Daniel On Thu, Nov 7, 2013 at 11:05 PM, Vladimir Medvedkin wrote: > 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 > > >