From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rgout0806.bt.lon5.cpcloud.co.uk (rgout0806.bt.lon5.cpcloud.co.uk [65.20.0.153]) by dpdk.org (Postfix) with ESMTP id 01019DE3 for ; Mon, 25 Sep 2017 18:46:56 +0200 (CEST) X-OWM-Source-IP: 10.110.12.1 () X-OWM-Env-Sender: terry.montague.1980@btinternet.com X-Junkmail-Premium-Raw: score=11/50, refid=2.7.2:2017.9.25.162416:17:11.235, ip=, rules=__HAS_FROM, __FRAUD_WEBMAIL_FROM, __HAS_REPLYTO, __FRAUD_WEBMAIL_REPLYTO, __TO_MALFORMED_2, __TO_NO_NAME, __HAS_MSGID, __SANE_MSGID, INVALID_MSGID_NO_FQDN, __MIME_VERSION, __CT, __CTYPE_HAS_BOUNDARY, __CTYPE_MULTIPART, __CTYPE_MULTIPART_MIXED, __HAS_X_PRIORITY, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __REPLYTO_SAMEAS_FROM_DOMAIN, __MIME_TEXT_P2, __MIME_TEXT_H2, __ANY_URI, __HTTPS_URI, __URI_WITH_PATH, __URI_NO_MAILTO, __URI_NO_WWW, __CP_URI_IN_BODY, SUPERLONG_LINE, __MULTIPLE_URI_TEXT, __URI_IN_BODY, __URI_NOT_IMG, __HAS_HTML, __HTML_TAG_DIV, HTML_NO_HTTP, BODY_SIZE_1900_1999, BODYTEXTP_SIZE_3000_LESS, BODYTEXTH_SIZE_10000_LESS, __MIME_TEXT_H1, __MIME_TEXT_P1, __MIME_HTML, __URI_NS, BODY_SIZE_5000_LESS, __FRAUD_WEBMAIL, BODY_SIZE_2000_LESS, PRIORITY_NO_NAME, __MIME_TEXT_H, __MIME_TEXT_P, REPLYTO_SAMEAS_FROM, BODY_SIZE_7000_LESS, URI_WITH_PATH_ONLY Received: from webmail35.bt.ext.cpcloud.co.uk (10.110.12.1) by rgout08.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as terry.montague.1980@btinternet.com) id 58BFF08014F07A58 for users@dpdk.org; Mon, 25 Sep 2017 17:46:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1506358017; bh=Lxhwl4KisA+oSTCvxPPtXAM+i1mH/bff2arfNFC5jDk=; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version; b=VCKWtVENRFVUAJLNveYN93/XksXO+SWB/t0G0NWuqXgMCqOEQHc6/lIE2v2fmKS5XO2aCMK4dMAl+S7XjJgx5Z77ED76nGJ4xeRC3daVHF2cgYvTjqq0wFtLaKqgLh7xNE5VDFM2BIbpRpO/Oom6Q1mdFYxPyrumMZZIjtdC0B4= Date: Mon, 25 Sep 2017 17:46:56 +0100 (BST) From: "terry.montague.1980@btinternet.com" To: users@dpdk.org Message-ID: <9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Importance: 3 (Normal) X-Priority: 3 (Normal) X-Client-IP: IPv4[86.131.189.202] Epoch[1506358016390] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: terry.montague.1980@btinternet.com List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Sep 2017 16:46:57 -0000 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: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7EA283195 for ; 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" To: "terry.montague.1980@btinternet.com" CC: "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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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