From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) by dpdk.org (Postfix) with ESMTP id 75EE4E07 for ; Mon, 25 Apr 2016 16:24:51 +0200 (CEST) Received: by mail-yw0-f177.google.com with SMTP id t10so214174227ywa.0 for ; Mon, 25 Apr 2016 07:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outscale-com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to; bh=s4rPgdcZVpuCKUTzmBTZqzymeYghFXKitlu7wHXnl2I=; b=xq0qh1NMNHoBEPir0XzhJ5itYzhsvIkvMQEWoC3IRc2ixE93WuCD6bosADUgkdzFFD ZwNuvVo6HWohyFVeMzP5WhbhrVmu8Jt//9sMNpfmQQgzMwOL4YzPelfDYFV2Vkvsy0eS cdt1qfJo/+6nhp14cHZ+N8nil/7p6DYfSDtKKrj4+mH6dgkvlZgiU9/5jVgiCDct4u7S 5JQjHkAvf+P/C0BHMBFiwK98Z4hFO9TG9W8a737f3JFXRPFS4H08ljdvymNSQO144H53 s4T19R19Pxd61OoyP6BBOd30nc//wbB7TkmxF6zS4egA6iceNoAuoEhfZiMGeEJEZcmc PXTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=s4rPgdcZVpuCKUTzmBTZqzymeYghFXKitlu7wHXnl2I=; b=D6aTV3bD4WPa0P5/DD+fl7+HfqDB7wT+y92II82lap5W2HdsxVlKM90oRMnB+m+jSf NetKNIzN9fTmoD2U7GigGt7t+/SpZ0v0O1myrPJCRCsXLlDUHiVxZklZr8tpb0+Kpyle 9bVs4RyvX/seqvIHfobOrSO5oS1iX0CBrg5TtC0j6IWljevoh3gyCFovwPnz9kaF7ej7 jaatcFii4tyUPaAIOrfe4JPoE13f+1RUmdamFkP+EnR7kKva2JUppsteeQkhDyNbbO42 GbWHcojeiw0xsXcqN2gsZld/72dp0JbFbiDNwZ+V88qMocLJ2NKPwhTaK4Cmt1DUlkie 0YoA== X-Gm-Message-State: AOPr4FVN4DwsmfBfLRIYhzvtHJV4ajvRyUEtLtzXysmuUGT+iCl/GkXzy1f1+IVKj3bOBuZ+4UjKrb2koeY6Pt9P MIME-Version: 1.0 X-Received: by 10.37.30.86 with SMTP id e83mr19948487ybe.79.1461594290930; Mon, 25 Apr 2016 07:24:50 -0700 (PDT) Received: by 10.37.90.195 with HTTP; Mon, 25 Apr 2016 07:24:50 -0700 (PDT) Date: Mon, 25 Apr 2016 16:24:50 +0200 Message-ID: From: Matthias Gatto To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [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, 25 Apr 2016 14:24:51 -0000 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