DPDK usage discussions
 help / color / mirror / Atom feed
From: "terry.montague.1980@btinternet.com" <terry.montague.1980@btinternet.com>
To: users@dpdk.org
Subject: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)
Date: Mon, 25 Sep 2017 17:46:56 +0100 (BST)	[thread overview]
Message-ID: <9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost> (raw)

Hi all,
I appear to have stumbled into the problem where received data coming into the X550 (ixgbe PMD) is truncated in length to 1024 bytes.
I've followed this issue : https://github.com/pktgen/Pktgen-DPDK/issues/103 
and adjusted the size of the mbufs created by rte_pktmbuf_pool_create() to be RTE_MBUF_DEFAULT_DATAROOM + RTE_PKTMBUF_HEADROOM  :  i.e. 2048 + 128 bytes.
However, the receive side now stops receiving packets, 31 packets after startup. If I change the value of rxConfig.rx_free_thresh sent into rte_eth_rx_queue_setup() to 64, then it stops after 63 incoming packets.
Any ideas anyone ? What am I doing wrong?
Many thanks
Terry.
From keith.wiles@intel.com  Tue Sep 26 03:50:34 2017
Return-Path: <keith.wiles@intel.com>
Received: from mga04.intel.com (mga04.intel.com [192.55.52.120])
 by dpdk.org (Postfix) with ESMTP id 7EA283195
 for <users@dpdk.org>; Tue, 26 Sep 2017 03:50:34 +0200 (CEST)
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 25 Sep 2017 18:50:33 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.42,438,1500966000"; d="scan'208";a="1223674597"
Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202])
 by fmsmga002.fm.intel.com with ESMTP; 25 Sep 2017 18:50:33 -0700
Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by
 fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS)
 id 14.3.319.2; Mon, 25 Sep 2017 18:50:33 -0700
Received: from fmsmsx102.amr.corp.intel.com ([169.254.10.122]) by
 FMSMSX119.amr.corp.intel.com ([169.254.14.195]) with mapi id 14.03.0319.002;
 Mon, 25 Sep 2017 18:50:32 -0700
From: "Wiles, Keith" <keith.wiles@intel.com>
To: "terry.montague.1980@btinternet.com" <terry.montague.1980@btinternet.com>
CC: "users@dpdk.org" <users@dpdk.org>
Thread-Topic: [dpdk-users] Intel X550 packet receive length truncation
 (ixgbe PMD)
Thread-Index: AQHTNh4Hxx7QPOJj60yyBYDa9I3cbKLG3MiA
Date: Tue, 26 Sep 2017 01:50:32 +0000
Message-ID: <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
References: <9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost>
In-Reply-To: <9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.252.16.55]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <95D28AFD124E9341B65AAA58EA0B5283@intel.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [dpdk-users] Intel X550 packet receive length truncation (ixgbe
 PMD)
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: Tue, 26 Sep 2017 01:50:34 -0000


> On Sep 25, 2017, at 5:46 PM, terry.montague.1980@btinternet.com wrote:
>=20
> Hi all,
> I appear to have stumbled into the problem where received data coming int=
o the X550 (ixgbe PMD) is truncated in length to 1024 bytes.
> I've followed this issue : https://github.com/pktgen/Pktgen-DPDK/issues/1=
03=20
> and adjusted the size of the mbufs created by rte_pktmbuf_pool_create() t=
o be RTE_MBUF_DEFAULT_DATAROOM + RTE_PKTMBUF_HEADROOM  :  i.e. 2048 + 128 b=
ytes.
> However, the receive side now stops receiving packets, 31 packets after s=
tartup. If I change the value of rxConfig.rx_free_thresh sent into rte_eth_=
rx_queue_setup() to 64, then it stops after 63 incoming packets.
> Any ideas anyone ? What am I doing wrong?


What is the version of DPDK and Pktgen you are using?

> Many thanks
> Terry.

Regards,
Keith

             reply	other threads:[~2017-09-25 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 16:46 terry.montague.1980 [this message]
     [not found] ` <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
2017-09-26  6:41   ` terry.montague.1980

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=9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost \
    --to=terry.montague.1980@btinternet.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).