From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id DA5D2E00A73; Tue, 10 Nov 2015 18:43:43 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.55.86.74 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 24744E009C3 for ; Tue, 10 Nov 2015 18:43:42 -0800 (PST) Received: from [192.168.1.10] (c-73-194-208-34.hsd1.nj.comcast.net [73.194.208.34]) by smtp.webfaction.com (Postfix) with ESMTP id 1D30C207EAB4; Wed, 11 Nov 2015 02:43:41 +0000 (UTC) To: Clemens Eisserer , meta-freescale@yoctoproject.org References: From: Bob Cochran Message-ID: <5642AB5C.4020606@mindchasers.com> Date: Tue, 10 Nov 2015 21:43:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: UDP jumbo packet loss on T2080RDB and out-of-order receive X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 02:43:43 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 11/10/2015 11:17 AM, Clemens Eisserer wrote: > Hi, > > I am trying to receive a stream of 9k jumbo frames on one of our > T2080RDBs (simply using recvfrom), however even a very low rate > (12MB/s on average) frequently UDP packages are lost. Furthermore the > packets are received out-of-order e.g. :0, 8, 1, 2, 10, 3, 11, 4, 5, > 6, ..... > While receiving the stream, I see an equal number of interrupts on > QMAN-Portal0 through QMAN-Portal-7. > PF_PACKET / PACKET_RX_RING for packet capturing also doesn't seem to > work - is this unsupported by DPAA? > > So to summerize - any idea what could cause the following issues: > * UDP jumbo packet loss > * UDP jumbo packets are received out-of-order > > Thank you in advance, Clemens > Tracing is implemented for the DPAA. If you haven't done it already, you might want to enable it to get a better idea how each packet is being handled. Once you get it working, it's pretty easy to add some additional fields and rebuild the kernel. Events like dpa_rx_fd and dpa_tx_fd are supported and can be found in the dpa source directory under drivers. There is also a Freescale DPAA Packet Tool that offers a free trial. It pretty much provides the same information as trace but with a GUI; however, it might require a JTAG TAP ( that's how I use it ). Bob