From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rgout04.bt.lon5.cpcloud.co.uk (rgout0401.bt.lon5.cpcloud.co.uk [65.20.0.214]) by dpdk.org (Postfix) with ESMTP id 502651B1B3 for ; Tue, 26 Sep 2017 08:41:07 +0200 (CEST) X-OWM-Source-IP: 10.110.12.1 () X-OWM-Env-Sender: terry.montague.1980@btinternet.com X-RazorGate-Suspect: true Received: from webmail29.bt.ext.cpcloud.co.uk (10.110.12.1) by rgout04.bt.lon5.cpcloud.co.uk (9.0.019.13-1) (authenticated as terry.montague.1980@btinternet.com) id 58482DA21E45675B; Tue, 26 Sep 2017 07:41:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btinternet.com; s=btcpcloud; t=1506408068; bh=VOMuVKSxw+zQkUClJI5PdYvVkG8ADbPxAYIkMNqCR8Y=; h=Date:From:Reply-To:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version; b=NSrUfzJa7W5lAE6ppCa8tpQ8ShKPKXHv7wCKCO5SXkddalsApoa/npKLMbAXQ/pWYnx1VszyMwWc/khjdJDyvqFk/g/YoGHZe4sG7yYEoOqU8luvhB9gvmeCZc/kG3tZLyYwyCQTgqMui3w/gPumFzLkm3RhrjlVxvQ12RNPDWs= Date: Tue, 26 Sep 2017 07:41:05 +0100 (BST) From: "terry.montague.1980@btinternet.com" To: keith.wiles@intel.com Cc: users@dpdk.org Message-ID: <16672208.1985.1506408065433.JavaMail.defaultUser@defaultHost> In-Reply-To: References: <9168403.59008.1506358016412.JavaMail.defaultUser@defaultHost> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CP-REPLY-ALL-UID: 432 X-CP-REPLY-ALL-UID: 432 X-CP-REPLY-ALL-UID: 432 X-CP-REPLY-ALL-UID: 432 X-CP-REPLY-ALL-UID: 432 X-CP-REPLY-ALL-PATH: INBOX X-CP-REPLY-ALL-PATH: INBOX X-CP-REPLY-ALL-PATH: INBOX X-CP-REPLY-ALL-PATH: INBOX X-CP-REPLY-ALL-PATH: INBOX Importance: 3 (Normal) X-Priority: 3 (Normal) X-Client-IP: IPv4[86.131.189.202] Epoch[1506408065403] 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 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: Tue, 26 Sep 2017 06:41:08 -0000 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