DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)
@ 2017-09-25 16:46 terry.montague.1980
       [not found] ` <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
  0 siblings, 1 reply; 2+ messages in thread
From: terry.montague.1980 @ 2017-09-25 16:46 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)
       [not found] ` <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
@ 2017-09-26  6:41   ` terry.montague.1980
  0 siblings, 0 replies; 2+ messages in thread
From: terry.montague.1980 @ 2017-09-26  6:41 UTC (permalink / raw)
  To: keith.wiles; +Cc: users


HI Keith,

I'm not using pktgen - I am just experiencing what appears to be the same effect - I see receive data truncation to 1024bytes on incoming Rx datagrams. 

If I then increase the MBUF size to 2048 + 128, I can receive 1500 byte datagrams, but after receiving 31 of them (or what appears to  rx_free_thresh - 1) the Rx stops, although the ret_eth_stats_get() ipackets fields shows that the total number of datagrams I'm sending into the adaptor is being processed.  Looks to be a RX ring problem? 

I'm using DPDK 17.05


Terry



----Original message----
>From : keith.wiles@intel.com
Date : 26/09/17 - 02:50 (BST)
To : terry.montague.1980@btinternet.com
Cc : users@dpdk.org
Subject : Re: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)


> On Sep 25, 2017, at 5:46 PM, terry.montague.1980@btinternet.com wrote:
> 
> 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?


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

> Many thanks
> Terry.

Regards,
Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-26  6:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-25 16:46 [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD) terry.montague.1980
     [not found] ` <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
2017-09-26  6:41   ` terry.montague.1980

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