From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gregory@weka.io>
Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52])
 by dpdk.org (Postfix) with ESMTP id CBA22558D
 for <dev@dpdk.org>; Thu, 12 Jan 2017 10:14:29 +0100 (CET)
Received: by mail-wm0-f52.google.com with SMTP id r126so10988828wmr.0
 for <dev@dpdk.org>; Thu, 12 Jan 2017 01:14:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=weka-io.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:organization:user-agent
 :mime-version:content-transfer-encoding;
 bh=fxcoQgYN+fMVstPEQyn1RklVTCuBX3aC1QlIyZfeees=;
 b=Gr920TZWBIvZILdATPOY1/opwJiiiaEte2DlXuxPDNtwooGmw0q+zplapLMByjbuJv
 EDMXYqvYuRa9LBxJLiYmq7A3oL3+HCkOSccGpugASEQDp9eskPJLgtYWHGpzLG0MaA73
 y3rEIMKaxAJ7qn14hTDc+tpT9B0UI8aWym10k/bYG7iIOYN594CJKH7vHbDxV3YeQuAw
 tSWbsEVj3PJyO9BfhNVgnDdLAInvLCXw+fbHf8ef2NmQTxhqCNE31nc4ghIiFbV3cxes
 gegN4rjrLPicd25XffehFSv2l/nYRuFCaMAr7xbFn9N7mMEdl/yPqqmjLKnRo5JEMOL4
 8Xig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:mime-version:content-transfer-encoding;
 bh=fxcoQgYN+fMVstPEQyn1RklVTCuBX3aC1QlIyZfeees=;
 b=SroI3uNQcbadFkDguAbNbt4RuQo7BCEQU8Dp22Ots8a3ds9x1gPDhvi9z+Pkb0+6iS
 5iGzknn35cK/YzNZRCFbE3WKs8hOF/W75JEFUwqYaVSP1BVXjgGaTXQFwD2+sUX8HgPo
 8cT2o36ED5OL+hDV2Gyy8XjwRRt8nuP9muewmbDT7fdO5u8RE3OZpVh4oXiSTgpmPdR2
 KjS0s1CjCg51VXT4BTEqHS9SGWpWzcy0P2GsVGmiogl7shCBZArtrEa5sBqVuG25YQDM
 knDUIbFbVV6r4H+xpzIb700G5ghq2uDx2iliXX7jd2INs20soJ330dIdxH6FeQb7z6Dr
 DWzA==
X-Gm-Message-State: AIkVDXKnRMNV64b4f5BWWx6cYYZWkL7otSO6XJvXBstky36uYMFrZIISii3nKx/QMZpQTg==
X-Received: by 10.28.96.130 with SMTP id u124mr6092139wmb.81.1484212469265;
 Thu, 12 Jan 2017 01:14:29 -0800 (PST)
Received: from polaris.localnet (bzq-82-81-85-138.red.bezeqint.net.
 [82.81.85.138])
 by smtp.gmail.com with ESMTPSA id g197sm2099626wmd.15.2017.01.12.01.14.28
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 12 Jan 2017 01:14:28 -0800 (PST)
From: Gregory Etelson <gregory@weka.io>
To: dev@dpdk.org
Cc: users@dpdk.org
Date: Thu, 12 Jan 2017 11:14:27 +0200
Message-ID: <36207324.ubtIbUzSEP@polaris>
Organization: Weka.IO
User-Agent: KMail/5.3.3 (Linux/4.8.15-300.fc25.x86_64; KDE/5.29.0; x86_64; ; )
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7Bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-dev] net/i40e: TX descriptor is not done
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jan 2017 09:14:29 -0000

Hello,

I have a standalone utility that implements
ICMP ping over DPDK.
When I run the utility with i40e PMD over VF it stacks with the following output and never recovers.
The last reported  tx_tail value was 4095. TX queue length in that run was 4096
The fault was reproduced on several Dell PowerEdge R630 servers

My environment:
DPDK 16.11 + 6809e62e555c7b36d248a0e8086e3c3bbbb87a37 (net/i40e: enable VF MTU change)
i40e: version: 1.5.25, firmware-version: 5.04 0x80002537 0.0.0

Regards,
Gregory


PMD: i40e_xmit_pkts(): port_id=0 queue_id=0 tx_tail=4094 nb_tx=1
PMD: i40e_rxd_to_vlan_tci(): Mbuf vlan_tci: 0, vlan_tci_outer: 0
PMD: i40e_rxd_to_vlan_tci(): Mbuf vlan_tci: 0, vlan_tci_outer: 0
PMD: i40e_rxd_to_vlan_tci(): Mbuf vlan_tci: 0, vlan_tci_outer: 0
IN[0] ETH[00:50:56:88:A4:F9->46:51:31:29:89:82 proto 0800] IP[10.222.35.7->10.222.131.1 len 498 proto 01] ICMP[REPLY seq 4090] 
IN[0] ETH[00:50:56:88:A4:F9->46:51:31:29:89:82 proto 0800] IP[10.222.35.7->10.222.131.1 len 498 proto 01] ICMP[REPLY seq 4091] 
IN[0] ETH[00:50:56:88:A4:F9->46:51:31:29:89:82 proto 0800] IP[10.222.35.7->10.222.131.1 len 498 proto 01] ICMP[REPLY seq 4092] 
OUT[0] ETH[46:51:31:29:89:82->00:50:56:88:A4:F9 proto 0800] IP[10.222.131.1->10.222.35.7 len 498 proto 01] ICMP[REQUEST seq 4093] 
PMD: i40e_xmit_cleanup(): TX descriptor   31 is not done (port=0 queue=0)
PMD: i40e_xmit_pkts(): mbuf: 0x7efebc07c500, TDD[4094]:
buf_dma_addr: 0x81de7c600;
td_cmd: 0x4;
td_offset: 0;
td_len: 512;
td_tag: 0;


PMD: i40e_xmit_pkts(): port_id=0 queue_id=0 tx_tail=4095 nb_tx=1
PMD: i40e_rxd_to_vlan_tci(): Mbuf vlan_tci: 0, vlan_tci_outer: 0
IN[0] ETH[00:50:56:88:A4:F9->46:51:31:29:89:82 proto 0800] IP[10.222.35.7->10.222.131.1 len 498 proto 01] ICMP[REPLY seq 4093] 
OUT[0] ETH[46:51:31:29:89:82->00:50:56:88:A4:F9 proto 0800] IP[10.222.131.1->10.222.35.7 len 498 proto 01] ICMP[REQUEST seq 4094] 
PMD: i40e_xmit_cleanup(): TX descriptor   31 is not done (port=0 queue=0)
PMD: i40e_xmit_cleanup(): TX descriptor   31 is not done (port=0 queue=0)
PMD: i40e_xmit_cleanup(): TX descriptor   31 is not done (port=0 queue=0)