From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.f5.com (mail.f5.com [208.85.209.139]) by dpdk.org (Postfix) with ESMTP id E1AB219F5 for ; Fri, 29 Jul 2016 18:55:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=f5.com; i=@f5.com; q=dns/txt; s=seattle; t=1469811316; x=1501347316; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=F9fQ1UiJCseEMHQp9q71pcfwSHgdcQy1iS7SBDKMebw=; b=rZfwJLXDfxAlBw7dduPlb5r1+0PHm6GGtpKaZPNKsE4rQn0I3vTDqG3B 1mximRjkFJn3tQzJdpgLyTPYGO5R8vW2sUbzNMxslykSLP7mDGg/emHJs QBUp9l5gvxfQvVJwr1L5ixSQ0JlBwXcUoFBIfBTdwPSHVTz7rLCYzUYiZ c=; X-IronPort-AV: E=McAfee;i="5700,7163,8241"; a="232008524" X-IronPort-AV: E=Sophos;i="5.28,440,1464652800"; d="scan'208";a="232008524" Received: from oracle-apps.f5net.com (HELO exchmail.f5net.com) ([192.168.10.235]) by mail.f5.com with ESMTP/TLS/AES256-SHA; 29 Jul 2016 16:55:14 +0000 Received: from SEAEXCHMBX06.olympus.F5Net.com (192.168.15.49) by seaexchmbx03.olympus.F5Net.com (192.168.15.225) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Fri, 29 Jul 2016 09:55:13 -0700 Received: from SEAEXCHMBX06.olympus.F5Net.com ([fe80::b921:c8e9:b9b2:3e8a]) by SEAEXCHMBX06.olympus.F5Net.com ([fe80::b921:c8e9:b9b2:3e8a%12]) with mapi id 15.00.1178.000; Fri, 29 Jul 2016 09:55:13 -0700 From: Alec Istomin To: "Lal, PrzemyslawX" , "users@dpdk.org" Thread-Topic: [dpdk-users] i40e: issues with TCP Segmenation Offload of VLAN-tagged traffic Thread-Index: AdHpnpTV5wheVps7T6WxYTCwjydZzwAGbcbw Date: Fri, 29 Jul 2016 16:55:13 +0000 Message-ID: <0b17d48ce8dc4b7f9c2deca394a88a16@SEAEXCHMBX06.olympus.F5Net.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.15.239] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] i40e: issues with TCP Segmenation Offload of VLAN-tagged traffic 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: Fri, 29 Jul 2016 16:55:15 -0000 Przemek, Please try to reduce MTU on your virtio interfaces and see if this changes= the behavior. I had to use mtu 1496 to allow tagged connectivity in my en= vironment. Make sure to restart OVS after MTU change. I did not use TSO (it's not working in OVS 2.5 and dpdk 2.2.0 that i use),= but the symptoms look very familiar. Regards, Alec -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Lal, PrzemyslawX Sent: Friday, July 29, 2016 6:45 To: users@dpdk.org Cc: Kavanagh, Mark B ; Ksiadz, MarcinX ; Siddiqui, Muhammad A Subject: [dpdk-users] i40e: issues with TCP Segmenation Offload of VLAN-tag= ged traffic Hi, I have problem with TCP Segmentation Offload of VLAN tagged traffic on i40e= PMD driver - connectivity dies after trying to send first packet. After spawning new VM non-TCP traffic (like ping) works fine. After trying = to connect using SSH to the VM, connectivity is completely broken on i40e -= even ping stops working. In the meanwhile connection between VMs connected= to the same OVS using vhost-user ports works fine.=20 This is how topology looks like (simplified): virtio virtio <-- TSO enabled on the virtio interface o= n virtual machine | | vhostuser vhostuser <-- TSO supported for vhost-user interfac= es in DPDK since 16.04 release | | ovs-dpdk ovs-dpdk <-- VLAN tagging/untagging done in OVS-DP= DK using OpenFlow rules | | rte_i40e_pmd rte_i40e_pmd <-- first packet that should be offloaded= breaks connectivity | | +----TOR switch----+ Problem occurs only with i40e NIC - when using exactly the same configurati= on with ixgbe NIC everything works fine, it looks like i40e PMD driver caus= es this problem. Versions tested: DPDK - 16.04, 16.07-rc3, also some post 16.07-rc2 master tested with this p= atch applied http://dpdk.org/ml/archives/dev/2016-July/043924.html OVS-DPDK - recent versions from master branch with TSO RFC patch applied on= top - link: http://openvswitch.org/pipermail/dev/2016-June/072871.html In each case TSO and VLAN combo on ixgbe was working with no issues, on i40= e it was always broken. Issue was also independently reproduced by Mark Kavanagh (cc'd). Is this known issue and is there any way to solve this issue? If not, are t= here any plans to fix this problem in the upcoming DPDK releases? =09 Best Regards, Przemek