From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id F1180307 for ; Sun, 13 Apr 2014 07:12:54 +0200 (CEST) Received: by mail-pa0-f43.google.com with SMTP id bj1so7011924pad.30 for ; Sat, 12 Apr 2014 22:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-type; bh=6WewdBA7B6OIHMgUdbNJ/YYeQkf5HKMOQuOsBHI09wg=; b=HmAW7N64XR9pLt3whK7omKfQntUtS0TJlUxOUs786AVawprkcR1c8kyUpQOBZizA3h Tx3ZoFTUTi7okcusKWFk0jEW/ldAGh7l3/BfcWF9tZ5Xh2aZIYwbgXMzyL/HMuZ8AiJe KGJ8pereW9L4yTp9jk5nUoiu0YRpcbnJIbECSS5nv4oUs0hlZ2Z7eWi+styfpPHgV/l2 6hH1xWRmDbB1/9kyA1IlWmMEKNzb0HpteQiaDUFSgsGcwC0WPeBn5Lw3G5skx9nYO6rr xLtbLIcZFiRR7zRTUFxkj86HSvmid4epUf4Iu8WxhGJi8scbHyANcIK/ALH4W/QuCpYY ciBg== X-Received: by 10.68.189.68 with SMTP id gg4mr37000400pbc.42.1397366072441; Sat, 12 Apr 2014 22:14:32 -0700 (PDT) Received: from cychong-5 ([39.7.45.69]) by mx.google.com with ESMTPSA id nx12sm60383060pab.6.2014.04.12.22.14.30 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 12 Apr 2014 22:14:31 -0700 (PDT) Date: Sun, 13 Apr 2014 14:14:31 +0900 From: Chae-yong Chong To: sabu kurian Message-ID: <65072E01-9F4F-4C35-A173-2299B5C6CE0D@gmail.com> In-Reply-To: References: <1861179.6WnqIWz1vA@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] I350 drops packet on rte_eth_tx_burst() X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 05:12:55 -0000 I think if you just forward the packets there should be no tx failure. If= you instruct the core to send the packet in burst, the tx rate is higher= than 10Gbps as the core is too powerful.=C2=A0 =20 ---Sent from Boxer =7C http://getboxer.com To add to my previous mail..... only upto 544 packets are actually sent... then it fails On =46ri, Apr 11, 2014 at 3:34 PM, sabu kurian = wrote: > Hi =46riends, > > Thanks for the reply. > > This is the portion of the code where the I350 fails to send packet: > > for(;;)=7B > > ret =3D rte=5Feth=5Ftx=5Fburst(port=5Fids=5Blcore=5Fid=5D= , 0, m=5Fpool, > burst=5Fsize); > > if (unlikely(ret < burst=5Fsize)) =7B > for(j=3Dret;j<(burst=5Fsize-ret);j++) > =7B > rte=5Fpktmbuf=5Ffree(m=5Fpool=5Bj=5D); > =7D > =7D > else > =7B > > lcore=5Fstats=5Blcore=5Fid=5D.tx +=3D (uint64=5Ft)b= urst=5Fsize; > =7D > > =7D > > all of the m=5Fpool were allocated using > > for(j=3D0;j =7B > m=5Fpool=5Bj=5D =3D rte=5Fpktmbuf=5Falloc(pktmbuf=5Fpoo= l); > > =7D > > > > > On =46ri, Apr 11, 2014 at 1:26 PM, Thomas Monjalon < > thomas.monjalon=406wind.com> wrote: > >> Hi, >> >> 2014-04-11 11:29, sabu kurian: >> > Even after installing all the required igb drivers for I350 (the dev= ice >> > seems to work perfect on the host machine), am unable to transmit >> packets >> > using the same device (on Intel DPDK) using >> >> Please follow this documentation to setup your environment and do some= >> basic >> tests with testpmd: >> http://dpdk.org/doc/quick-start >> >> -- >> Thomas >> > >