DPDK usage discussions
 help / color / mirror / Atom feed
From: "Lal, PrzemyslawX" <przemyslawx.lal@intel.com>
To: "users@dpdk.org" <users@dpdk.org>
Cc: "Kavanagh, Mark B" <mark.b.kavanagh@intel.com>,
	"Ksiadz, MarcinX" <marcinx.ksiadz@intel.com>,
	"Siddiqui, Muhammad A" <muhammad.a.siddiqui@intel.com>
Subject: [dpdk-users] i40e: issues with TCP Segmenation Offload of VLAN-tagged traffic
Date: Fri, 29 Jul 2016 13:44:47 +0000	[thread overview]
Message-ID: <FD513D32FA813F4C934E6A6546FB1552CDC78D@IRSMSX103.ger.corp.intel.com> (raw)

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. 

This is how topology looks like (simplified):

     virtio             virtio    <-- TSO enabled on the virtio interface on virtual machine
       |                  |
    vhostuser          vhostuser  <-- TSO supported for vhost-user interfaces in DPDK since 16.04 release
       |                  |
    ovs-dpdk           ovs-dpdk   <-- VLAN tagging/untagging done in OVS-DPDK 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 configuration with ixgbe NIC everything works fine, it looks like i40e PMD driver causes this problem.

Versions tested:
DPDK - 16.04, 16.07-rc3, also some post 16.07-rc2 master tested with this patch 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 i40e 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 there any plans to fix this problem in the upcoming DPDK releases?
	
Best Regards,
Przemek

             reply	other threads:[~2016-07-29 13:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 13:44 Lal, PrzemyslawX [this message]
2016-07-29 16:55 ` Alec Istomin
2016-08-01  7:13   ` Lal, PrzemyslawX
2016-08-01 12:15     ` Tan, Jianfeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FD513D32FA813F4C934E6A6546FB1552CDC78D@IRSMSX103.ger.corp.intel.com \
    --to=przemyslawx.lal@intel.com \
    --cc=marcinx.ksiadz@intel.com \
    --cc=mark.b.kavanagh@intel.com \
    --cc=muhammad.a.siddiqui@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).