From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by dpdk.org (Postfix) with ESMTP id 2F98937A8 for ; Mon, 2 May 2016 10:57:06 +0200 (CEST) Received: by mail-yw0-f178.google.com with SMTP id t10so273493779ywa.0 for ; Mon, 02 May 2016 01:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outscale-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=kuFojgWXrtEIDAyS1u6dbTu1cJrZXHFwOp0HqGR+Ua0=; b=z+8M/tr4b/PaGnrnExoZ9pVc2LWjq3D9LENMJdLwTGJ23NYJEhpj4zd1JGh9KX5IZ9 KCHkCa5FHsaOh9kXloHoPYKt5Jfrt1/dJ/zua0C1TLsbpsZim5UH5DjsmPIkt/wrIL+E NX3L2t6PcXaBkPpS/N1po5Zce1TIEYr/SmvKl2S02USceK8DsFykmKXPpHcE8yWsTe5l DEOyEv7EwfknbQY0xUxRW20/8e1Cqt4ZSRCnxweI8vTGO/3aymI7Xfpu4NCqnmMleg5s QTAMZeHEZk0cN2Fa9DTFFPUfRyDFMKK3v8Ng4fzuajuQauHuWkoU9mZkCDPP1q3TU8wG xCCg== 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; bh=kuFojgWXrtEIDAyS1u6dbTu1cJrZXHFwOp0HqGR+Ua0=; b=C8UrzYhpE7ArF1qadH52mZggVVddtc7Gq9YrPtOIR8wfwRtK6cTZuX/K/GnMJSIq8C 92EMVSyqQeE5tt5kp6I7Wdqr0bm1idDs+AgZj8JQMhWb8BNfxznlB0OemtLEgW78oHe+ /ZtioObQ9e0p6g66fZClbRvDFNlliwA0se9Sghtb+nGENUGD396DiAYVQI+e0YfGYpar K4qKlRqzyT0xmVJNuOtWiy0j/nDp+qXm4sI0JNtfRelFnW/v89jSgREkJ8G6GVz+tGcS zT5Uyr6CzYivpnVEQZfKvGfPZS+C+dr9L2fuYANqYxDYzOgcwpUt73128lPOjSDeZ4rU qw9A== X-Gm-Message-State: AOPr4FUtyTEWUfiHnsEbewg0B1z0m0ZECeAguvz5ys1KkEx75EM9BbhsO5H032iSisVHoQ0kKxczHRmx4f42oC3K MIME-Version: 1.0 X-Received: by 10.37.228.193 with SMTP id b184mr18890053ybh.4.1462179425596; Mon, 02 May 2016 01:57:05 -0700 (PDT) Received: by 10.37.209.145 with HTTP; Mon, 2 May 2016 01:57:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 May 2016 10:57:05 +0200 Message-ID: From: Matthias Gatto To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-users] vhost, vxlan, and nic TSO trouble. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 08:57:06 -0000 On Mon, Apr 25, 2016 at 3:49 PM, Matthias Gatto wrote: > Hi, > I'm working on a project using DPDK: > > We are receiving packets from a vhost interface, then we encapsulate > them in vxlan packets, and finally we burst them into an ixgbe nic. > > We set txq_flags of ixgbe nic to 0 in order to use offloading capability. > > During encapsulation, we add vxlan header length to l2_len field inside mbuf. > It seems that l3_len, l4_len and tso_segsz are already set by vhost. > > When we use iperf3 to test our architecture, it seems that: > - Packets with PKT_TX_TCP_CKSUM and without PKT_TX_TCP_SEG have a > correct checksum. > - Packets with PKT_TX_TCP_CKSUM and with PKT_TX_TCP_SEG are segmented > but have a bad checksum. > > Do you think I've missed something ? > > Thanks for your help > > -- Matthias Gatto. ping