From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gregory@weka.io>
Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com
 [209.85.216.174]) by dpdk.org (Postfix) with ESMTP id 8E4D52BF3
 for <users@dpdk.org>; Sun, 15 Jan 2017 10:08:54 +0100 (CET)
Received: by mail-qt0-f174.google.com with SMTP id x49so82045466qtc.2
 for <users@dpdk.org>; Sun, 15 Jan 2017 01:08:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=weka-io.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=A7ApuBstDRGIRGBbiRM/RojeWumJTb2a3kalNme2qSc=;
 b=hK4gskhqfjs48sqChYM6J7BifpQ/kQPIoR0mN/xsWXHjOSxXZrUwbYDHK5Zv4pI87F
 bp63YiBhqqW5xZQg6oI2nU0FK3sYC7VK4CUWjZ7Zaz/qNOH//rGSG5J3PAealGjswqbJ
 K0wpZtQ5cKjUb+yesvwDjQhj3hVsOHnMqJsv2np997DG6po1QBfqPIUeizB7pdyNL90h
 ieKkEJ8DZ7zGcLJdbrJyzhvz4tq9sYylsEO1zWIKaZ0BAsxmUBoFv//GTecRJynDXpo5
 ZStMxafnQJ1RGzG10XCN3iMjRgF9SqOAkFChg3oiySKf5rYmZBLbAg11g/Vh00R6iXEz
 3LkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=A7ApuBstDRGIRGBbiRM/RojeWumJTb2a3kalNme2qSc=;
 b=bMjffy5r/7ry+4Q54OFwQOww1jeLB0P8aiVjthREWXXwiorholHkAR/PM9WrUbDBDU
 5PeVDzlM1doJN193onulwxdb1la70WmAFT13urCqL/m9c5N5Rx254H31s67vm55BnnLz
 gvwa2V4akpRK/SEFTwm7Gk/0ioTRMAmxVY1Tz8o6ApM7IYx4zonYW8FbqCrQkLKVwlfD
 JPQNCYUW6IFE7uBcDAzSLMZsqbw1czxP5kCu6plvxI10TLSgZV8cfZhCRbO0GbKO2Aon
 fGs1jU/7ZKBxOT+D8VRy2C9m7iF/dRuclQePPDtkRCUx/M+MYtJ6ciL3gT4eppcSnoiX
 +qhQ==
X-Gm-Message-State: AIkVDXKQcsNYLCZM6dIhN3kg/HILSo8rmCIApVfborXXvVod2sGqC3WEWxWtgwLbkWnnSLsifu9nVR0WcP0v6w==
X-Received: by 10.200.53.50 with SMTP id y47mr24071674qtb.114.1484471334132;
 Sun, 15 Jan 2017 01:08:54 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.37.120 with HTTP; Sun, 15 Jan 2017 01:08:53 -0800 (PST)
In-Reply-To: <36207324.ubtIbUzSEP@polaris>
References: <36207324.ubtIbUzSEP@polaris>
From: Gregory Etelson <gregory@weka.io>
Date: Sun, 15 Jan 2017 11:08:53 +0200
Message-ID: <CAO--2fGACYp++H-04spf4KDXWya5iaZfEVTwa0SMWgdgot2O_Q@mail.gmail.com>
To: dev <dev@dpdk.org>
Cc: users@dpdk.org
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: Re: [dpdk-users] net/i40e: TX descriptor is not done
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jan 2017 09:08:55 -0000

Update

The fault is relevant to VF only
DPDK over i40e PF functions correctly

Regards,
Gregory

On Thu, Jan 12, 2017 at 11:14 AM, Gregory Etelson <gregory@weka.io> wrote:

> 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)
>